March 22, 2020
Estimated Post Reading Time ~ 1 mins

Implementation Of CUG In AEM

This document is to understand how to configure CUG in AEM. We may get a requirement to restrict some of the pages or register users' access to publish instance. For this reason, AEM provided a closed user group (CUG).

By implementing this, we can restrict specific page or child pages of any parent page on publish instance.
We will explain how to create a Closed User Group and Configure Closed User Group on pages.

Create a Closed User Group on AEM:
To create a close user group, we need to follow the below-mentioned steps:
Author_login-300x120
  • Now click on the tools button then it shows you navigation button. In that click on security then it will open a new page. Please see the below-mentioned screenshots.
AEM_Start_Page-300x151
Edit-217x300
  • Now click on Groups and create a new group for CUG users.
Create_Group-226x300
Create-group-300x96
save-changes-300x91
  • Assign a user to this group. For whom we want to provide restricted access for the page.
Add_Members-300x179
  • Click on Save
  • Activate the user, which we have added in CUG group and activate cug-access group form the author to publish.
Activate-300x132

Configure Closed User Group (CUG) on pages:
To configure closed user group on page. Please follow below mentioned steps:
  • Login to AEM and click on projects icon.
Projects_Icon
  • Now navigate to any root page, which you want to restrict and need to assign to CUG group.
For example: Here we are using /content/we-retail/us/en page.
En_Homepage-300x190
  • Open the page properties on en page.
EN_Page_Properties-300x154
  • Go to the advance tab and enable the Authentication Requirement
Enable_Authentication-300x99
  • Go to permission tab, Click on Edit Closed User Group and add CUG users group for this page
Edit_CUG-300x150
  • We can also add extra permissions for this page by click on Add permissions button.
More_Permissions-300x155
  • Click on Save & Close button from the Top right corner in the page to save the changes.
Save-300x96
aem4beginner.blogspot


By aem4beginner

No comments:

Post a Comment

If you have any doubts or questions, please let us know.

Ad Blocker Detected :(

Please consider supporting us by disabling your ad blocker.

Please Disable your adblocker and Refresh the page to view the site content.