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

SOLVED

Displaying AEM assets based on permissions in publish server

vasimakram
Level 4
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
MC_Stuff
Correct answer by
Level 9
Level 9

Hi vasim.

It is expected behavior based on your configured permission.

Thanks,

View solution in original post

0 Replies
Peter_Puzanovs
Community Advisor
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

MC_Stuff
Correct answer by
Level 9
Level 9

Hi vasim.

It is expected behavior based on your configured permission.

Thanks,

View solution in original post