Skip to content

Commit

Permalink
Little change, has no impact... just avoid reapeating 1 line of code =)
Browse files Browse the repository at this point in the history
  • Loading branch information
dlitvakb committed Oct 6, 2011
1 parent c22b64a commit 0c1d4cd
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 @@ -57,7 +57,7 @@ Namespace SDE
If wksp Is Nothing Then Throw New DataException("No se ha provisto ningún workspace")
Try
Dim elem As T = Me.doGetByName(name, wksp)
If New PrivilegesValidator(elem).HasPrivileges(Privileges) Then : Return elem
If Me.PermissionsValidation(elem, Privileges) Then : Return elem
Else : Throw New UnauthorizedAccessException("No se tienen permisos suficientes para acceder al elemento")
End If
Catch ex As UnauthorizedAccessException
Expand Down

0 comments on commit 0c1d4cd

Please sign in to comment.