Displaying AEM assets based on permissions in publish server | Community
Skip to main content
vasimakram
Level 4
April 12, 2017
Solved

Displaying AEM assets based on permissions in publish server

  • April 12, 2017
  • 3 replies
  • 1816 views

Hi,
In my publish server I have a user with read permissions to the following folder(/content/dam/geometrixx) as shown in screenshot.
I have a login page for AEM user.
When the user logs in to page he will directly navigate to my custom asset details page. There i need to show all the images from dam folder for which he have read permission.
when I use the URL(http://localhost:4503/content/dam/geometrixx.assets.json) it is displaying all the images to which I have access as shown in scree.
When I hit the URL(http://localhost:4503/content/dam.assets.json)  it is giving 0 results. Even though he have access  for dam he is unable to get the results.Please provide any inputs on how to achieve it.

Thanks in advance.

Regards,

Vasim

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 MC_Stuff

Hi vasim.

It is expected behavior based on your configured permission.

Thanks,

3 replies

Peter_Puzanovs
Community Advisor
Community Advisor
April 12, 2017

Are you sure, your user/group has read access to the desired folder? Check again permissions set on your tree.

"There i need to show all the images from dam folder for which he have read permission."

Could be quite painful(CPU wise), might be better to first calculate what needs to be shown and then direct certain group to specific selector/servlet.

So that your data could be cached.

Regards,

Peter

vasimakram
Level 4
April 13, 2017

Sorry I forget to add ScreenShot. attaching them now. 

MC_Stuff
MC_StuffAccepted solution
Level 10
April 15, 2017

Hi vasim.

It is expected behavior based on your configured permission.

Thanks,