private AuthResult permissionGranted(OpType opType, User user, RegionCoprocessorEnvironment e,
    Map<byte[], ? extends Collection<?>> families, Action... actions) {
    AuthResult result = null;
    for (Action action : actions) {
      result = accessChecker.permissionGranted(opType.toString(), user, action,
        e.getRegion().getRegionInfo().getTable(), families);
      if (!result.isAllowed()) {
        return result;
      }
    }
    return result;
  }
Check the current user for authorization to perform a specific action against the given set of
row data.
@param opType   the operation type
@param user     the user
@param e        the coprocessor environment
@param families the map of column families to qualifiers present in the request
@param actions  the desired actions
@return an authorization result
hbase-server/src/main/java/org/apache/hadoop/hbase/security/access/AccessController.java