Thanks, got it.
On Wed, Jun 29, 2011 at 8:02 PM, Nathan Stott <[email protected]> wrote: > Instead of using default level you could do the allow with a higher level > than you did the deny > > On Tue, Jun 28, 2011 at 6:48 AM, Bhoomi <[email protected]> wrote: > >> How do I reset the security for a certain user on certain operation? >> >> Eg : >> >> Say first I had denied rights for some operation to some user as follows : >> >> >> _permissionBuilderService.Deny("/Operation1/New").For("UserGroup1").OnEverything().DefaultLevel().Save(); >> >> And now I want to grant him permission for : >> >> >> _permissionBuilderService.Allow("/Operation1/New").For("UserGroup1").OnEverything().DefaultLevel().Save(); >> >> >> Tried it, but authorization service picks up denied one and on checking >> this : >> >> authorizationService.GetAuthorizationInformation(user, ""/Operation1/New") >> output is : >> >> {Permission (level 1) for operation '/Operation1/New' was denied to group >> 'UserGroup1' on 'everything' ('user1' is a member of 'UserGroup1') >> Permission (level 1) for operation '/Operation1/New' was granted to group >> 'UserGroup1' on 'everything' ('user1' is a member of 'UserGroup1') >> } >> builder: {Permission (level 1) for operation '/Operation1/New' was >> denied to group 'UserGroup1' on 'everything' ('user1' is a member of ' >> UserGroup1') >> Permission (level 1) for operation '/Operation1/New' was granted to group >> 'UserGroup1' on 'everything' ('user1' is a member of 'UserGroup1') >> } >> >> How do i reset the security and apply it again? >> >> >> Thanks, >> >> Bhoomi. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Rhino Tools Dev" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/rhino-tools-dev?hl=en. >> > > -- > You received this message because you are subscribed to the Google Groups > "Rhino Tools Dev" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/rhino-tools-dev?hl=en. > -- You received this message because you are subscribed to the Google Groups "Rhino Tools Dev" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rhino-tools-dev?hl=en.
