@Override
  public boolean equalsExceptActions(Object obj) {
    if (!(obj instanceof NamespacePermission)) {
      return false;
    }
    NamespacePermission gp = (NamespacePermission) obj;
    return namespace.equals(gp.namespace);
  }
check if given action is granted in given namespace.
@param namespace namespace's name
@param action    action to be checked
@return true if granted, false otherwise
hbase-client/src/main/java/org/apache/hadoop/hbase/security/access/NamespacePermission.java