Original Message:
Sent: Wed April 16, 2025 10:49 AM
From: Rohit Shrivastav
Subject: Rules on }ElementSecurity_cube issue
Rules (even with SecurityRefresh) did now work.
As @Emirhan Yıldırım mentioned that "Security in '}ElementSecurity_' cubes must be statically stored values-rules are ignored by the security engine during evaluation.",
so I think to make it dynamic and rule driven - work around would be to create a duplicate cube with Rule and use TI to populate '}ElementSecurity_' cubes with Static value.
------------------------------
Rohit Shrivastav
Original Message:
Sent: Tue April 15, 2025 05:20 AM
From: Hubert Heijkers
Subject: Rules on }ElementSecurity_cube issue
Why would you need a 'work-around', if you can just call security refresh?
TM1 caches all security, with the exception of cell security, for performance reasons. Security refresh rebuilds those caches and all should be well.
IMHO, if anything, and no worries won't change that over night, I'd argue those cell updates to those stored values in these security cubes should not have resulted in updates to our security caches to begin with and only have been picked up when applying a security refresh.
------------------------------
Hubert Heijkers
STSM, Program Director TM1 Functional Database Technology and OData Evangelist
Original Message:
Sent: Mon April 14, 2025 10:21 AM
From: Rohit Shrivastav
Subject: Rules on }ElementSecurity_cube issue
Thanks.
So I guess a work around could be to create a corresponding duplicate cube - apply rule and use a TI to load values '}ElementSecurity_' cubes and Refresh Security. Would have been easier if Rules worked in '}ElementSecurity_' cubes just like CellSecurity Rules.
------------------------------
Rohit Shrivastav
Original Message:
Sent: Sat April 12, 2025 04:26 AM
From: Emirhan Yıldırım
Subject: Rules on }ElementSecurity_cube issue
Security in '}ElementSecurity_' cubes must be statically stored values-rules are ignored by the security engine during evaluation.
------------------------------
Emirhan Yıldırım
Original Message:
Sent: Thu April 10, 2025 11:10 AM
From: Rohit Shrivastav
Subject: Rules on }ElementSecurity_cube issue
Greetings!,
While working on Planning Analytics Cloud environment we are providing READ / WRITE access to elements and groups based on RULEs on different '}ElementSecurity_' cubes. E.g.
# ##Assign WRITE access to N level element for corresponding Sales Group (S001 through S060)
[] = S: IF(ELLEV( 'D.Sales.Hierarchy',!D.Sales.Hierarchy ) = 0 & ELPAR( 'D.Sales.Hierarchy', !D.Sales.Hierarchy, 1 ) @= !}Groups, 'WRITE', CONTINUE);
and so on...
Rules work correctly and values are populated in cube.
Security DOES NOT WORK, when values are derived from RULES. If we disable RULES and enter value manually in '}ElementSecurity_' cubes then the Security settings WORK CORRECTLY.
Do we know why RULES based definitions would not work here? Or is there any configuration settings to make RULES based '}ElementSecurity_' cubes work correctly?
Thank you.
------------------------------
Rohit Shrivastav
------------------------------