<rolling up sleeves, pulling out wren.... I mean spanner and getting ready to get my hands dirty>
I am looking to revamp my current cumbersome security model, and as part of that I am trying to evaluate the impact on performance for having security derived by rules.
I have successfully written the first part of the rule I want. The goal was to restrict write access to years that are current orbeing budgeted based on a year dimensions attributes. See Below.
Code: Select all
FEEDSTRINGS;
['ADMIN']=S:'ADMIN';
['TM1 Admin']=S:'ADMIN';
['DataAdmin']=S:'ADMIN';
['SecurityAdmin']=S:'READ';
[]=S:IF(ATTRS('Year',!Year,'Status') @= 'CURRENT'
,'WRITE'
,Continue
);
[]=S:IF(ATTRS('Year',!Year,'Status') @= 'BUDGET'
,'WRITE'
,Continue
);
[]=S:'READ';
My problem is that when I suppress zeros nothing is there, meaning a feeder issue. However, this confuses me. I thought that feeders were only required is skipcheck was on. I could be wrong, but that was my thought.
Since I am probably wrong, then I still have a concern. I know my feeder should come from my year attribute cube, but what is the best wat to feed from that cube?
I would expect the feeder to look like:
Code: Select all
['Status']=>DB('}ElementSecurity_Year',!Year,!}Groups)
Thanks in advance!