I am creating some security rule which says if the parent is 'WRITE' then make the child 'WRITE' too.
I am using the following:
Code: Select all
[]=S:
IF( ELLEV('Cost Centre', !Cost Centre) = 0 & DB('}ElementSecurity_Cost Centre', ELPAR('Cost Centre', !Cost Centre,1),!}Groups) @= 'WRITE',
'WRITE', 'NONE');
Code: Select all
[]=S:
IF( 'grp_' | ATTRS( 'Cost Centre', !Cost Centre,'Business Partner' ) @= !}Groups,
'WRITE', CONTINUE);
I don't like the idea of using ELPAR but I couldn't think of an alternative without doing something with the Business Partner Attribute.
Does anyone have any other suggestions?
Maren