ACL - Apply ACL to a specific attachment from a variable on RITM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-03-2024 05:39 PM - edited ‎07-03-2024 05:42 PM
Hi,
I'd appreciate some help with following requirement:
In a specific catalog item I've got 5 variables "attachment" type. A specific group of users must be allowed to download all those 5 attachments, and there's already an ACL doing that, and only this group can download attachment from this specific catalog item. BUT there's a specific variable attachment that anyone, from any group is allowed to download. How can I achieve this? Any idea?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-03-2024 06:20 PM
Hi, if you already have ACL's configured that are allowing\preventing download of all 5 attachments based on specific values IE group membership, then to allow everyone specific access to 1 of the attachments you should just need to add a new read acl specifically for the record involved.
if(somethingThatIdentifiesYourRecord) {
answer = true;
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-04-2024 06:31 AM
Hi,
I've created a condition in which I specified the attachment variable on catalog item "if(item.variables.name_of_variable)" but it doesn't work. How do I create a condition that specify the attachment related to that variable?