OSecurityRole - revoke()
Removes access to the given resource from the role.
OrientDB defines the resources that the role can access and what privileges they have on that resource using a set of rules. Using this method, you can remove a rule from the set, effectively revoking the role's access to the resource.
OSecurityRole OSecurityRole().revoke( ORule.ResourceGeneric resourceGeneric, String resourceSpecific, int operation)
||Defines the generic resource to remove|
||Defines the specific resource to remove|
||Defines the operation to revoke|
This method returns the updated
OSecurityRole instance. You may find this useful in chaining several operations together.