Since AC Tool 3.1.0 there is support for creating/updating groups in Adobe IMS. Those are the groups which are exposed in the Adobe Admin Console and automatically used for AEMaaCS and also AEM 6.5 hosted by AMS Author login.
Here is the different actors involved in IMS Group sync
---
title: IMS Group Sync
---
sequenceDiagram
box AEM
participant ACTool
participant AEM Groups
participant AEM Users
end
box Adobe IMS
participant IMS OIDC Login
participant IMS Users
participant IMS Groups
end
ACTool->>+IMS Groups: Create/Update ('externalSync')
ACTool->>+AEM Groups: Create/Update groups synchronized with IMS ('externalId')
Note over ACTool: 1. Triggered via Installation
IMS Users ->> IMS Groups: Grant access via group membership
Note over IMS Groups: 2. Authorization via Admin Console
IMS OIDC Login->>AEM Users: Create/Update
IMS OIDC Login->>AEM Groups: Add members
Note over IMS OIDC Login: 3.Authentication
To enable that feature, just set the property externalSync on the group to be synced in the YAML file to true. In order to assign ACLs to those groups make sure that externalId is set correctly (otherwise the group on AEM side will not be used for IMS users).
In addition an OSGi configuration for the leveraged UMAPI needs to be provided in the configuration PID biz.netcentric.cq.tools.actool.ims.IMSUserManagement. This configuration should only be provided for run mode author to prevent the same groups from being created/updated multiple times. Also make sure you don't trigger the update too often due to throttling of that API.
Only the
- group id (called name in IMS context),
- the description
- the admins (set via OSGi configuration)
- and product profiles (set via OSGi configuration)
are set for synchronized groups in IMS. Memberships are not modified and groups are never deleted. However you can update admin users of the managed groups (this involves both adding and removing users) with the additional flag Also update existing external groups. This is only available for manually triggered installations from the Web Console Plugin or the Touch UI Web UI. There is right now no way to remove product profiles on already existing groups.