public void checkLockPermissions(ObserverContext<?> ctx, String namespace, TableName tableName,
    RegionInfo[] regionInfos, String reason) throws IOException {
    accessChecker.checkLockPermissions(getActiveUser(ctx), namespace, tableName, regionInfos,
      reason);
  }
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