Expand my Community achievements bar.

SOLVED

Displaying AEM assets based on permissions in publish server

Avatar

Level 4

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

1 Accepted Solution

Avatar

Correct answer by
Level 9

Hi vasim.

It is expected behavior based on your configured permission.

Thanks,

View solution in original post

3 Replies

Avatar

Community Advisor

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

Avatar

Level 4

Sorry I forget to add ScreenShot. attaching them now. 

Avatar

Correct answer by
Level 9

Hi vasim.

It is expected behavior based on your configured permission.

Thanks,