Just a question I wrote a rule to change the security of dimension base on the attribute of that dimension. I have a process that add elements on that dimension. How come when I check the cube, the cube's rights is update but not the actual access to those elements? The only time it updates is when I open Element Security tick on of the security setting and Save it and then open Element Security.
I tried taking out the rules out of the control cube for the security of that dimension...but it still retains a "NONE" rights for the users.
Code: Select all
Code: Select all
[{'ADMIN','SecurityAdmin', 'DataAdmin'}] = S: IF(DB('}ElementAttributes_base_worksheet_so_number',!base_worksheet_so_number,'so_approval')@='',STET,CONTINUE);
[{'ADMIN','SecurityAdmin', 'DataAdmin'}] = S: IF(DB('}ElementAttributes_base_worksheet_so_number',!base_worksheet_so_number,'so_approval')@<>'',STET,CONTINUE);
['}tp_Everyone'] = S: IF(DB('}ElementAttributes_base_worksheet_so_number',!base_worksheet_so_number,'so_approval')@='','WRITE','WRITE');
[{'Accounts Payable - S','Commission','Accounts Payable - M'}]= S: IF(DB('}ElementAttributes_base_worksheet_so_number',ELPAR('base_worksheet_so_number',!base_worksheet_so_number,1),'so_approval')@='No Approval','',CONTINUE);
[] = S: IF(DB('}ElementAttributes_base_worksheet_so_number',!base_worksheet_so_number,'so_approval')@<>'','READ',CONTINUE);
[] = S: IF(DB('}ElementAttributes_base_worksheet_so_number',!base_worksheet_so_number,'so_approval')@='Approved','READ','WRITE');