krithika_v
I'm new here

Get Media/Document permissions from ACL-DB

Hello,

How can I use Firstspirit ACL-DB API to retreive the permissions of a media file by passing the  Media UID or Media reference?

I have a requirement to display media links on a page only if the logged in user has the necessary permissions to see the media.

The media links are stored in a datasource table with each record containing the media ref, media id, extension, url and so on.

How can i get the list of permissions for the media/document?

We use the <c:forEach> tag to iterate through the datsource and display the links in the page. We use JSP pages.

Could anyone please help me here?

Thank You!

Regards,

Krithika

0 Kudos
1 Reply
kohlbrecher
Crownpeak employee

Hello Krithika,

what you need is the DynamicPersonalization module and the Security module.

You can find the documentation here and here.

Best regards

Jan

0 Kudos