Grants privileges to users with this role.
Privileges in OrientDB are defined as a series of rules set on the user or role. Using this method, you can add privileges to the role.
OSecurityRole OSecurityRole().grant( ORule.ResourceGeneric resourceGeneric, String resourceSpecific, int operation)
||Defines the generic resource|
||Defines the specific resource|
||Defines the operation you want to enable|
This method returns the updated
OSecurityRole instance. You may find this useful when chaining several operations together.