Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events

Assigning Groups to System Users is not working

Avatar

Level 2

Hi,

We've recently migrated from cq 5.6 to AEM 6.2 and as part of refactoring we have obtained resolver using apache user mapper service. Now since we need system users for this instead of service users, we created system users and made it part of administrators group so that it can acquire all necessary permissions. But we were only able to add groups to this system user somehow on one environment. When we tried doing same on other environment, it did not work out. To test whether this works at all, we tried in some independent system, We were not able to add existing groups to system users. So as of now the only workaround left for us is provide permissions to system user itself. But is this the right way i.e. users should not be given permission directly, they should be added to groups and groups should be given permissions.

Thanks

1 Reply

Avatar

Level 10

As discussed in Adobe HELPX articles - such as this one - you give the JCR rights to the SYstem Users: 

"You have to create a new system user and assign them the appropriate permissions"

https://helpx.adobe.com/experience-manager/using/querying-experience-manager-sling.html