@Override
  public void preBulkLoadHFile(ObserverContext<? extends RegionCoprocessorEnvironment> ctx,
    List<Pair<byte[], String>> familyPaths) throws IOException {
    User user = getActiveUser(ctx);
    for (Pair<byte[], String> el : familyPaths) {
      accessChecker.requirePermission(user, "preBulkLoadHFile",
        ctx.getEnvironment().getRegion().getTableDescriptor().getTableName(), el.getFirst(), null,
        null, Action.ADMIN, Action.CREATE);
    }
  }
Verifies user has CREATE or ADMIN privileges on the Column Families involved in the
bulkLoadHFile request. Specific Column Write privileges are presently ignored.
hbase-server/src/main/java/org/apache/hadoop/hbase/security/access/AccessController.java