Skip to content

Commit

Permalink
bugfix at SDEDataGateway Permissions validation
Browse files Browse the repository at this point in the history
  • Loading branch information
dlitvakb committed Sep 28, 2011
1 parent 5d01dde commit 9988031
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GeoServices/SDE/SDEDataGateway.vb
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ Public MustInherit Class SDEDataGateway(Of T As {Class})
''' <returns></returns>
''' <remarks></remarks>
Protected Overridable Function PermissionsValidation(ByVal element As T, Optional ByVal RequiresEditorPriviledges As Boolean = True) As Boolean
Return IIf(RequiresEditorPriviledges AndAlso New SDE.EditingWorkspace(element).isVersioned(), CType(element, IDatasetEditInfo).CanEdit, True)
Return IIf(RequiresEditorPriviledges, CType(element, IDatasetEditInfo).CanEdit, True)
End Function

Protected Function SanitizeString(ByVal text As String) As String
Expand Down

0 comments on commit 9988031

Please sign in to comment.