Hi
Just upgraded to 10.3 Planning Analytics, and wanted to call your attention to test your rules in cubes with the }Clients and }Groups dimension.
We use native security, and for example this has no effect in an element security for Companies dim:
[] = S: IF(!}Groups @= !Companies , 'WRITE' , 'NONE');
or in a Divisions dim where the security input is in another cube:
[] = S: IF(DB('zSecurityDivisions', !Divisions, !}Groups, 'nValue') > 0 , 'WRITE' , 'NONE');
We use native security, and user group names are the same as company names. We had to hardcode all companies on the LHS of the rule to make it work, i.e.:
['}Groups':{'Company1','Company2'}] = S: IF(!}Groups @= !Companies , 'WRITE' , 'NONE');
We also had issues with }Clients dim where we had to create a cube with a "Clients" dim, and feed into the cube with the "}Clients" dim (not all rules, it was related to STET somehow)
So just be sure you test rule-based security well before upgrading
Matyas
10.3 - Issues with rules in the }Groups and }Clients dims
-
- Community Contributor
- Posts: 156
- Joined: Tue Apr 02, 2013 1:41 pm
- OLAP Product: tm1, cognos bi
- Version: from TM1 9.4 to PA 2.0.9.6
- Excel Version: 2010
- Location: Toronto, ON
Re: 10.3 - Issues with rules in the }Groups and }Clients dims
Thanks for sharing, it looks like TM1 Development team is in big trouble. I really miss the older versions of TM1 ( 9.4 and prior ). Every new version IBM has released, has created major impacts for us
Ardian Alikaj
-
- MVP
- Posts: 3667
- Joined: Fri Mar 13, 2009 11:14 am
- OLAP Product: TableManager1
- Version: PA 2.0.x
- Excel Version: Office 365
- Location: Switzerland
Re: 10.3 - Issues with rules in the }Groups and }Clients dims
This is not good. I hope you reported this as a bug?mvaspal wrote:We use native security, and for example this has no effect in an element security for Companies dim:
[] = S: IF(!}Groups @= !Companies , 'WRITE' , 'NONE');
Please place all requests for help in a public thread. I will not answer PMs requesting assistance.
- paulsimon
- MVP
- Posts: 808
- Joined: Sat Sep 03, 2011 11:10 pm
- OLAP Product: TM1
- Version: PA 2.0.5
- Excel Version: 2016
- Contact:
Re: 10.3 - Issues with rules in the }Groups and }Clients dims
Hi
I wonder if TM1 10.3 is getting confused on the LHS? Have you considered renaming your Groups with a Grp_ prefix?
If it worked in 10.2 and it doesn't in 10.3 then that is a bug, but the above might be a workaround.
Regards
Paul Simon
I wonder if TM1 10.3 is getting confused on the LHS? Have you considered renaming your Groups with a Grp_ prefix?
If it worked in 10.2 and it doesn't in 10.3 then that is a bug, but the above might be a workaround.
Regards
Paul Simon
-
- 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: 10.3 - Issues with rules in the }Groups and }Clients dims
Hi
Yes we did open a ticket.
Thanks Paul for your advise, I had literally just a few minutes to fix this as users were waiting to access their reports. So just fixed it in 10 mins and did not think of further solutions yet, but your idea is well worth a try!
Btw, also be sure you test your action buttons after the upgrade! Some of them (could not find a logic/pattern yet which are impacted) lost the server reference, and parameter references. So after you upgrade, be sure you open all of these and check if they work correctly. We recreated all these buttons one by one as it seemed to be quicker (ca. 15 sheets with ca 30 buttons) than communicate with Support. We will open a ticket for this too, soon.
Yes we did open a ticket.
Thanks Paul for your advise, I had literally just a few minutes to fix this as users were waiting to access their reports. So just fixed it in 10 mins and did not think of further solutions yet, but your idea is well worth a try!
Btw, also be sure you test your action buttons after the upgrade! Some of them (could not find a logic/pattern yet which are impacted) lost the server reference, and parameter references. So after you upgrade, be sure you open all of these and check if they work correctly. We recreated all these buttons one by one as it seemed to be quicker (ca. 15 sheets with ca 30 buttons) than communicate with Support. We will open a ticket for this too, soon.
-
- 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: 10.3 - Issues with rules in the }Groups and }Clients dims
Added a test user group with the prefix UG_, and then the rule:
[] = S: IF(!}Groups @= 'UG_' | !Companies , 'WRITE' , 'NONE');
did not help.
[] = S: IF(!}Groups @= 'UG_' | !Companies , 'WRITE' , 'NONE');
did not help.
- paulsimon
- MVP
- Posts: 808
- Joined: Sat Sep 03, 2011 11:10 pm
- OLAP Product: TM1
- Version: PA 2.0.5
- Excel Version: 2016
- Contact:
Re: 10.3 - Issues with rules in the }Groups and }Clients dims
Hi
I know that you have tried this with one Group with a UG_ prefix but to really check that there is not an issue due to Groups and Companies having the same name, you should probably look at a dimension that has elements that don't have the same name as the Group. If that works then your answer is to remove all your existing Groups and re-create them with a prefix so that they are not the same as the Element Name.
Having said that, your other rule where you are referencing another cube does not work either. However, can you clarify what you mean by doesn't work?
You say that you are using native security. Has the server ever used CAM security?
Regards
Paul Simon
Can you clarify what you mean by has no effect? What are you seeing in the }ElementSecurity_Companies cube? Are you seeing a blank or are you seeing NONE when the Group matches the Company, or are you seeing WRITE but even after doing a Security Refresh a user in the appropriate Group is not able to write to the related Company?We use native security, and for example this has no effect in an element security for Companies dim:
[] = S: IF(!}Groups @= !Companies , 'WRITE' , 'NONE');
I know that you have tried this with one Group with a UG_ prefix but to really check that there is not an issue due to Groups and Companies having the same name, you should probably look at a dimension that has elements that don't have the same name as the Group. If that works then your answer is to remove all your existing Groups and re-create them with a prefix so that they are not the same as the Element Name.
Having said that, your other rule where you are referencing another cube does not work either. However, can you clarify what you mean by doesn't work?
You say that you are using native security. Has the server ever used CAM security?
Regards
Paul Simon
-
- 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: 10.3 - Issues with rules in the }Groups and }Clients dims
Hi
does not work = white cells in the element sec cube
does not work = white cells in the element sec cube