Element Security

Post Reply
darners
Posts: 6
Joined: Wed Mar 09, 2016 3:48 pm
OLAP Product: TM1
Version: 10.2.2
Excel Version: Excel for Mac

Element Security

Post by darners »

I am having some issues with Element Security

I have a cube that has 4 Dimensions

Row:

Title & Input Type

Column:

Months

Context:

Revision Number

I have set dimension Security to be WRITE for all Dimensions

I have set Element Security for the Months Dimension to be READ or WRITE depending on the current Month
I have set Element Security on the Input Type Dimension to be WRITE (Next Forecast) and READ for all others

My problem is that the element security for Input Type is working fine but not for the Months Dimension as per attached Screenshot

any help Gratefully received
Screen Shot 2016-04-19 at 10.00.39.png
Screen Shot 2016-04-19 at 10.00.39.png (29.63 KiB) Viewed 5396 times
Screen Shot 2016-04-19 at 10.00.07.png
Screen Shot 2016-04-19 at 10.00.07.png (27.04 KiB) Viewed 5396 times
User avatar
jim wood
Site Admin
Posts: 3961
Joined: Wed May 14, 2008 1:51 pm
OLAP Product: TM1
Version: PA 2.0.7
Excel Version: Office 365
Location: 37 East 18th Street New York
Contact:

Re: Element Security

Post by jim wood »

For a starter for ten you shouldn't be setting security for the admin groups as it will be ignored anyway.
Struggling through the quagmire of life to reach the other side of who knows where.
Go Build a PC
Jimbo PC Builds on YouTube
OS: Mac OS 11 PA Version: 2.0.7
mvaspal
Community Contributor
Posts: 341
Joined: Wed Nov 03, 2010 9:16 pm
OLAP Product: tm1
Version: 10 2 2 - 2.0.5
Excel Version: From 2007 to 2013
Location: Earth

Re: Element Security

Post by mvaspal »

Hi

Which user group does your user belong to (when doing the screenshots)?
Are there any rules applied in this cube?
darners
Posts: 6
Joined: Wed Mar 09, 2016 3:48 pm
OLAP Product: TM1
Version: 10.2.2
Excel Version: Excel for Mac

Re: Element Security

Post by darners »

User belongs to RFC\Testing

No rules on cube
declanr
MVP
Posts: 1831
Joined: Mon Dec 05, 2011 11:51 am
OLAP Product: Cognos TM1
Version: PA2.0 and most of the old ones
Excel Version: All of em
Location: Manchester, United Kingdom
Contact:

Re: Element Security

Post by declanr »

Your security cube write/reads are all grey suggesting they have been specified by a rule. If thats correct have you ran a security refresh after the rule was applied?
Declan Rodger
darners
Posts: 6
Joined: Wed Mar 09, 2016 3:48 pm
OLAP Product: TM1
Version: 10.2.2
Excel Version: Excel for Mac

Re: Element Security

Post by darners »

declanr wrote:Your security cube write/reads are all grey suggesting they have been specified by a rule. If thats correct have you ran a security refresh after the rule was applied?
Sorry , pretty new to this, I do have rules on the cube which set READ or WRITE based on a control cube, (but before I added this and I manually set the security I was still having the same issue)

I have set this under

Model Security - Cubes - ElementSecurity_CubeName

['Mar OR'] = S:
IF ( DB ('RFC - Control','Read Only Months','Value') @>= '01','READ','WRITE');
['Apr OR'] = S:
IF ( DB ('RFC - Control','Read Only Months','Value') @>= '02','READ','WRITE');
['May OR'] = S:
IF ( DB ('RFC - Control','Read Only Months','Value') @>= '03','READ','WRITE');
['Jun OR'] = S:
IF ( DB ('RFC - Control','Read Only Months','Value') @>= '04','READ','WRITE');
['Jul OR'] = S:
IF ( DB ('RFC - Control','Read Only Months','Value') @>= '05','READ','WRITE');
['Aug OR'] = S:
IF ( DB ('RFC - Control','Read Only Months','Value') @>= '06','READ','WRITE');
['Sep OR'] = S:
IF ( DB ('RFC - Control','Read Only Months','Value') @>= '07','READ','WRITE');
['Oct OR'] = S:
IF ( DB ('RFC - Control','Read Only Months','Value') @>= '08','READ','WRITE');
['Nov OR'] = S:
IF ( DB ('RFC - Control','Read Only Months','Value') @>= '09','READ','WRITE');
['Dec OR'] = S:
IF ( DB ('RFC - Control','Read Only Months','Value') @>= '10','READ','WRITE');
['Jan OR'] = S:
IF ( DB ('RFC - Control','Read Only Months','Value') @>= '11','READ','WRITE');
['Feb OR'] = S:
IF ( DB ('RFC - Control','Read Only Months','Value') @>= '12','READ','WRITE');
declanr
MVP
Posts: 1831
Joined: Mon Dec 05, 2011 11:51 am
OLAP Product: Cognos TM1
Version: PA2.0 and most of the old ones
Excel Version: All of em
Location: Manchester, United Kingdom
Contact:

Re: Element Security

Post by declanr »

Having rules is fine but you need to make sure that you apply a security refresh after they change.

This can be done by the TI function SecurityRefresh or right clicking on the aerver in architect and selecting to refresh security manually.
Until that is done the changes won't apply... with the exception of cellsecurity cubes where the rules apply automatically.
Declan Rodger
darners
Posts: 6
Joined: Wed Mar 09, 2016 3:48 pm
OLAP Product: TM1
Version: 10.2.2
Excel Version: Excel for Mac

Re: Element Security

Post by darners »

declanr wrote:Having rules is fine but you need to make sure that you apply a security refresh after they change.

This can be done by the TI function SecurityRefresh or right clicking on the aerver in architect and selecting to refresh security manually.
Until that is done the changes won't apply... with the exception of cellsecurity cubes where the rules apply automatically.

Excellent thanks you, it was the 'Refresh Security' - Newbie error :(
Post Reply