Configure CUG CQ

User Administration And Security

Configure Closed User Group (CUG)

Till now we configured how to limit access to author for particular section of site. However some time we want to limit access of particular page on publish instance.

CUG are used to limit access to specific page on publish instance. When you assign CUG to a page, That page requires login and only CUG admitted users are allowed to access that page.

How to Set Up CUG:
  • CUG can be set up at page level
  • In order to set up CUG for a page, right click on that page from site admin and select properies
CQ Access CUG

  • Select Advance Tab -> Expand closed user Group
CQ Assign CUG
  • You can configure your option. Here is what each option mean                    
 Enabled     If current page is subjected to CUG. If this is not checked all other field will not have any effect.
 Login page         Login Page where you want anonymous user to redirect to after they access page. Login Page should have logic to authenticate user. If this is not specified then standard login page is used. Standard login page is configured under felix console with configuration called "CQ Login Selector Authentication Handler"
 Admitted Group Groups That is allowed to access this resource. After login if user belongs to admitted group then only they will get access to resource.
 Realm Realm you want to show to admitted group after they login. By Default they will see page title.

  • Then you can click ok and activate that page
  • Make sure that users and groups assigned to CUG also exist in publish (For that you can activate that user or group to publish instance)
You might have to do some more changes in Dispatcher for this to work. Find more detail here