Open Ask AI (⌘/Ctrl+I)

Manage groups

You can create and view groups for your DX Cloud subscription directly from the Cockpit under the Admin section.

  1. Go to Admin > Groups.

  2. Go to your desired group category.

    This includes:

    • Cockpit groups (view only)
    • Rancher groups (view only)
    • Magnolia (AdminCentral) groups (create, edit, delete)
    • Custom groups (create, edit, delete)
  3. For Magnolia (AdminCentral) and Custom groups, click Add.

  4. Give the group a meaningful name.

  5. Click the users that you want to add to the group.

  6. Click the PaaS Client API roles that you want to add to the group.

  7. Click the Rancher roles that you want to add to the group.

  8. Click Add to save the group.

Create a user group

Group access AdminCentral

If using the Magnolia SSO module for authentication, you need to ensure the groups created in the Cockpit are granted access via the configuration in the SSO module.

  1. Create a group in the Cockpit (see Manage groups above).

  2. Assign users to the group. These are the users who you want to be able to access AdminCentral.

  3. In the SSO module, ensure the group name created in the Cockpit is defined in the config.yaml file. See the SSO module configuration section for more details.

path: /.magnolia/admincentral
callbackUrl: http://localhost:8080/.auth
postLogoutRedirectUri: http://localhost:8080/.magnolia/admincentral
authorizationGenerators: 
  - name: groupsAuthorization
    groups:
      targetProperty: groups 
      mappings:
        - name: /COCKPIT_GROUP <1>
          targetGroups: <2>
            - editors
          targetRoles: <3>
            - editor

Where /COCKPIT_GROUP is the name of the group you created in the Cockpit. If using Keycloak, the leading / is mandatory.

Defines the target group for the mapped group.

Defines any particular target roles for the group.