GET shows the config. Requires view-organizationsrealm-management role.
PUT updates the config. Requires manage-organizationsrealm-management role.
We need to update the organizationCreation method in OrganizationResourceProviderFactory to check createAdminUserEnabled before creating the default organization admin user.
Allow global configuration of organizations features. Currently needed are:
Path
/realms/{realm}/orgs/config
Body (also the default values):
Methods:
GET
shows the config. Requiresview-organizations
realm-management
role.PUT
updates the config. Requiresmanage-organizations
realm-management
role.We need to update the
organizationCreation
method inOrganizationResourceProviderFactory
to checkcreateAdminUserEnabled
before creating the default organization admin user.