ACL condition script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2023 08:30 AM
Hi everyone,
I'm working with ACLs permissions and I need to add some more conditions to my builded script.
I need to give permissions to demand submitters and demand collaborators to edit demand items.
The problem here is RIDACs items can be a child of a demand or project SO I need to first check that the top task (or parent) is a DEMAND then I need to check the user is the submitter or collaborator of the current demand
Any suggestion to build the requirement?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2023 09:02 AM
I think you'll have to do a different one for every RIDAC item.
Just open the RIDAC records you know are associated with the Demand. Then ShowXML so you can see exactly what the reference field is.
Then your script can check to make sure that whatever_reference.sys_class_name = dmn_demand