Interaction of element and cell security rules
Posted: Thu Mar 26, 2009 6:31 pm
Had a client come through with something rather odd.
They have security groups dividing up access by cost centre. So in the cost centre security rules, we have
['Div1Grp'] = s: if(elisanc('CC','Div1',!CC) = 1 % !CC @= 'Div1',
'WRITE',
#ELSE
'READ'
);
which works fine. But in the salaries cube (dimensioned by staff member and CC) they want something tighter ie
['Div1Grp'] = s: if(elisanc('CC','Div1',!CC) = 1 % !CC @= 'Div1',
'READ',
#ELSE
'NONE'
);
On the main cube, putting users in more than one 'divisional' security group works fine, they can work with CCs under each division. But in the salaries cube, if users are in more than one 'divisional' security group, they get access only to the _last_ group.
Views welcome. If I haven't explained it clearly, ask and I'll try to provide moredetails. I've played around with FEEDSTRINGS which did nothing (as usual). I feel an SR coming....
They have security groups dividing up access by cost centre. So in the cost centre security rules, we have
['Div1Grp'] = s: if(elisanc('CC','Div1',!CC) = 1 % !CC @= 'Div1',
'WRITE',
#ELSE
'READ'
);
which works fine. But in the salaries cube (dimensioned by staff member and CC) they want something tighter ie
['Div1Grp'] = s: if(elisanc('CC','Div1',!CC) = 1 % !CC @= 'Div1',
'READ',
#ELSE
'NONE'
);
On the main cube, putting users in more than one 'divisional' security group works fine, they can work with CCs under each division. But in the salaries cube, if users are in more than one 'divisional' security group, they get access only to the _last_ group.
Views welcome. If I haven't explained it clearly, ask and I'll try to provide moredetails. I've played around with FEEDSTRINGS which did nothing (as usual). I feel an SR coming....