Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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

cquser1
Level 8
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
cquser1
Level 8
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.

cquser1
Level 8
Level 8

Setting hideInNav to true on such pages also isnt working.

wimsymons
Level 4
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.