code: protected AccessControlGroup group(String groupId, List<AccessControlGroup> inherits, String... permissionIds) {
  
      AccessControlGroup group = new AccessControlGroup(groupId);
      group.setInherits(inherits);
      List<AccessControlPermission> permissions = new ArrayList<>(permissionIds.length);
      for (String permissionId : permissionIds) {
        permissions.add(permission(permissionId));
      }
      group.setPermissions(permissions);
      addAccessControl(group);
      return group;
    }
docs: Creates a new {@link AccessControlGroup} for static configuration of access controls.
  
  @param groupId {@link AccessControlGroup#getId() ID} of {@link AccessControlGroup} to create.
  @param inherits {@link List} of {@link AccessControlGroup} to {@link AccessControlGroup#getInherits() inherit}.
  @param permissionIds {@link AccessControlPermission#getId() ID}s of the {@link #permission(String) permissions} to
  {@link AccessControlGroup#getPermissions() use}.
  @return the newly created and registered {@link AccessControlGroup}.