code: public static boolean isAllowed(ORule.ResourceGeneric resource, String specific, OrientPermission... permissions)
  	{
  		return OrientDbWebSession.get().getEffectiveUser()
  					.checkIfAllowed(resource, specific, OrientPermission.combinedPermission(permissions))!=null;
  	}
docs: Check that all required permissions present for specified resource and specific
  @param resource specific resource to secure
  @param specific specific resource to secure
  @param permissions {@link OrientPermission}s to check
  @return true of require resource if allowed for current user