Expand my Community achievements bar.

SOLVED

Thumbnails not visible for certain users

Avatar

Community Advisor

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?

 

Manu_Mathew__1-1692008358747.png

 

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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

View solution in original post

2 Replies

Avatar

Employee Advisor

You need to grant read permission at least.

Avatar

Correct answer by
Community Advisor

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