AEM as a Cloud Service: ABAC policy not enforced for users outside mapped groups
✨ This content is AI generated and could be inaccurate. Generative AI Terms
This article explains why Attribute-Based Access Control (ABAC) policies in Adobe Experience Manager as a Cloud Service Content HUB may not restrict asset access for users who are not members of any mapped groups, and provides steps to resolve the issue.
Description description
Environment
- Adobe Experience Manager as a Cloud Service (all versions)
Symptoms
- Users who are not members of any groups referenced in the ABAC rule configuration can still view images in Content HUB.
- Expected behavior is that only users in mapped or allowed groups should be able to view the assets according to the ABAC policy.
- No error messages are displayed; unauthorized users can access images without restriction.
Steps to reproduce
- Configure ABAC rules with specific group mappings.
- Log in as a test user who is not a member of any mapped group.
- Observe that the user is able to view images in Content HUB.
Cause
By default, users not included in any mapped group may inherit access if the ABAC policy does not explicitly deny it. The ABAC configuration must be updated to ensure that only mapped groups have access and all others are denied.
Resolution resolution
Follow the steps below to resolve the issue.
- Navigate to the ABAC policy configuration in Adobe Experience Manager as a Cloud Service Content HUB.
- Verify that all intended groups are correctly mapped in the ABAC rules.
- Ensure the test user is not a member of any group referenced in the ABAC configuration.
- Attempt to access images in Content HUB with the test user.
- Review the default permissions for users not covered by any ABAC rule.
- Ensure that the default policy does not grant access to assets unless explicitly allowed.
- If default access is too permissive, update the ABAC rules to explicitly deny access to users not in mapped groups.
- Save and publish the updated configuration.
- Retest with a user outside all mapped groups to confirm that asset access is now correctly restricted.
recommendation-more-help
experience-cloud-kcs-help-kbarticles