public Query setACL(String user, Permission perms) {
    setAttribute(AccessControlConstants.OP_ATTRIBUTE_ACL,
      AccessControlUtil.toUsersAndPermissions(user, perms).toByteArray());
    return this;
  }
Set the ACL for the operation.
@param user  User short name
@param perms Permissions for the user
hbase-client/src/main/java/org/apache/hadoop/hbase/client/Query.java