ACL condition script

Leonel Sandroni
Tera Guru

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.

LeonelSandroni_1-1689261957148.png

 

 

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?

1 REPLY 1

Uncle Rob
Kilo Patron

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