Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

AEM 6.4.1.0 - Grant different permissions from different views for same content path

Avatar

Level 8

Hi All,

We have custom pages created under "/content/custom-folder".

We have added some custom consoles[/apps/cq/core/content/nav/mygps] to display pages under "/content/custom-folder" path. All of the users should have read/write access on these pages from these custom consoles.

These pages are also accessible from the sites console [http://localhost:4502/sites.html/content/custom-folder].

The requirement is

1] From the sites console[http://localhost:4502/sites.html/content/custom-folder], only a particular custom group should be able to see these pages and the rest should not be able to see this.

Any thoughts/pointers on how to do this will be helpful.

3 Replies

Avatar

Level 8

Also, if #1 in the above is not possible, is there a way to hide the pages from showing up in sites console.

Any suggestions/pointers will be helpful.

servlets - How to hide page from siteadmin in AEM? - Stack Overflow  talks about hiding pages from sites console, but does not work in touch UI.

Any thoughts/ideas on how to overcome this will be helpful.

Avatar

Level 8

Setting hideInNav to true on such pages also isnt working.

Avatar

Level 4

I would create a user group which has access to the particular area (/content/custom-folder). You can regular user accounts to that group for users who need access. Also create a service user, add it to the group and let your custom consoles use the service user to access and control the content instead of the logged in user.