@Override
  public int hashCode() {
    final int prime = 37;
    int result = permission.hashCode();
    if (user != null) {
      result = prime * result + Objects.hashCode(user);
    }
    return result;
  }
Get this permission access scope.
@return access scope
hbase-client/src/main/java/org/apache/hadoop/hbase/security/access/UserPermission.java