Thumbnails not visible for certain users | Community
Skip to main content
Manu_Mathew_
Community Advisor
Community Advisor
August 14, 2023
Solved

Thumbnails not visible for certain users

  • August 14, 2023
  • 2 replies
  • 759 views

Hi Guys,

A particular group of users are not given read permission on a particular editable template but want to view the thumbnail on the pages created using the template, is that any way to do that in AEM?

 

 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by arunpatidar

You can achieve this if you are using the Netcentric AC Tool https://github.com/Netcentric/accesscontroltool/blob/develop/docs/Configuration.md 

 

 

 

 

A repGlob expression like "/jcr:*". Please note that repGlobs do not play well together with actions. Use privileges instead (e.g. "jcr:read" instead of read action). See issue #48. If the globbing expression starts with an asterisk, it has to be put between quotes. Using repGlob is a shortcut for rep:glob in sub element restrictions

 

 

 

For example, if access to /conf/we-retail/settings/wcm/templates/hero-page/thumbnail.png file is required then

- [principal]
   - path:/conf/we-retail/settings/wcm/templates
     permission: allow
actions: read repGlob: *thumbnail.png*

 

2 replies

Mohit_KBansal
Adobe Employee
Adobe Employee
August 14, 2023

You need to grant read permission at least.

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
August 14, 2023

You can achieve this if you are using the Netcentric AC Tool https://github.com/Netcentric/accesscontroltool/blob/develop/docs/Configuration.md 

 

 

 

 

A repGlob expression like "/jcr:*". Please note that repGlobs do not play well together with actions. Use privileges instead (e.g. "jcr:read" instead of read action). See issue #48. If the globbing expression starts with an asterisk, it has to be put between quotes. Using repGlob is a shortcut for rep:glob in sub element restrictions

 

 

 

For example, if access to /conf/we-retail/settings/wcm/templates/hero-page/thumbnail.png file is required then

- [principal]
   - path:/conf/we-retail/settings/wcm/templates
     permission: allow
actions: read repGlob: *thumbnail.png*

 

Arun Patidar