@Override
  public boolean equals(Object obj) {
    if (!(obj instanceof UserPermission)) {
      return false;
    }
    UserPermission other = (UserPermission) obj;
    return user.equals(other.user) && permission.equals(other.permission);
  }
Get this permission access scope.
@return access scope
hbase-client/src/main/java/org/apache/hadoop/hbase/security/access/UserPermission.java