Hi Gurus,
Everyday after our nightly chores, I see that for a few elements, security is wiped off for all groups in }ElementSecurity_cube. There'snothing that indicates what wiped off in transaction log. I googled but there's nothing that points to my error. How do we debug? There's no porcess that we run nightly that wipes it off. Can anyone please help?
Version: PA 2.0.9.5
We use Contributor and run manage rights daily. After manage rights, the rights are set back. But I want to know what wipes off and how to debug when it's not recorded in transaction log.
Thanks,
Paul.
Element Security gets wiped - how to debug
-
- Posts: 124
- Joined: Tue Jun 13, 2017 3:20 pm
- OLAP Product: TM1
- Version: 10.2.2
- Excel Version: 2010
Re: Element Security gets wiped - how to debug
Sorry I did not mention a point that Transaction Logging is turned on for the }ElementSecurity_cube. After I run the manage rights, I see in transaction log that security s applied. But I do not see what wiped off.
Thanks,
Paul.
Thanks,
Paul.
-
- MVP
- Posts: 3113
- Joined: Mon Dec 29, 2008 6:26 pm
- OLAP Product: TM1, Jedox
- Version: PAL 2.0.9.18
- Excel Version: Microsoft 365
- Location: Brussels, Belgium
- Contact:
Re: Element Security gets wiped - how to debug
You could create a chore with a simple process in it that runs every say 5 minutes. The process just does a few CellPutS statements to certain cells in that cube. At least the following day you can see the evolution… maybe it helps identifying the cause.
Best regards,
Wim Gielis
IBM Champion 2024
Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 121 TM1 articles and a lot of custom code
Newest blog article: Deleting elements quickly
Wim Gielis
IBM Champion 2024
Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 121 TM1 articles and a lot of custom code
Newest blog article: Deleting elements quickly
- Steve Rowe
- Site Admin
- Posts: 2415
- Joined: Wed May 14, 2008 4:25 pm
- OLAP Product: TM1
- Version: TM1 v6,v7,v8,v9,v10,v11+PAW
- Excel Version: Nearly all of them
Re: Element Security gets wiped - how to debug
Is it possible the elements are getting deleted and then added back? I would expect you to be losing data against these elements as well if this is what is happening too.
Technical Director
www.infocat.co.uk
www.infocat.co.uk
-
- Regular Participant
- Posts: 197
- Joined: Wed May 06, 2020 2:58 pm
- OLAP Product: Planning Analytics
- Version: 2.0.9
- Excel Version: 2016
Re: Element Security gets wiped - how to debug
Does one of the nightly chores restart the service/model? I've encountered a similar issue before after a package had been redeployed the security would be fine until the service was rebooted after which security would be reverted/cleared. (I don't have a resolution but perhaps it'll point you in the right direction)
- orlando
- Community Contributor
- Posts: 167
- Joined: Fri Aug 04, 2017 8:27 am
- OLAP Product: TM1
- Version: PAL 2.0.8
- Excel Version: Office 365
Re: Element Security gets wiped - how to debug
Hi,
do you restart the database after setting the permissions?
If so, do you do a SaveDataAll before the restart?
If not, that could explain the loss.
Many greetings
orlando
do you restart the database after setting the permissions?
If so, do you do a SaveDataAll before the restart?
If not, that could explain the loss.
Many greetings
orlando