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.

Reply via email to