public boolean equals(Object o) {
    if (this == o)
      return true;
    if (! (o instanceof GroupPermissionsDesc))
      return false;
    GroupPermissionsDesc that = (GroupPermissionsDesc) o;
    return xequals(this.group,       that.group)
      && xequals(this.permissions, that.permissions)
      ;
  }
The base create permissions for ddl objects.
hcatalog/webhcat/svr/src/main/java/org/apache/hive/hcatalog/templeton/GroupPermissionsDesc.java