Related Table ACL to depend on Parent?

mike_bush
Kilo Guru

I've created a free-standing U_DOC_REF table so that tasks (PROB, CHANGE, RELEASE) can have one or more URL fields pointing out to sharepoint and other websites.

I'm happy for most roles to READ these records but I want to ACL the WRITE access dependent upon the "parent".

EG - I have WRITE access to a PROBLEM, I inherit WRITE access to its related list of U_DOC_REF

But I only have READ access to CHANGE so I get READ access to its list of U_DOC_REF.

How best to configure this? Script the WRITE ACL so that it checks the parent rights?

1 ACCEPTED SOLUTION

Anurag Tripathi
Mega Patron
Mega Patron

hi Mike,



This should work for you. Write ACL,



answer = current.parent.canWrite();


-Anurag

View solution in original post

2 REPLIES 2

Anurag Tripathi
Mega Patron
Mega Patron

hi Mike,



This should work for you. Write ACL,



answer = current.parent.canWrite();


-Anurag

Aha - as simple as that - thanks!