Determines whether the role is allowed to access the given resource.
OrientDB defines resources and the user or role's access to the resource defined using
ORule instances. Using this method, you can determine whether the given role is allowed to access the given resource.
boolean OSecurityRole().allow( ORule.ResourceGeneric resourceGeneric, String resourceSpecific, int operation)
||Defines the generic resource|
||Defines the specific resource|
||Defines the operation you want to check|
This method returns a
boolean instance. A value of
true indicates that the role does have permission to operate on the resource.