Action Button Security

Post Reply
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:

Action Button Security

Post by jim wood »

Guys,

I think I know the answer to this one but there you go.....

If a user wants to execute a process via an action button do they have to be within the data admin group? Is there any way to execute the process as a defined admin user?

Thanks,

Jim.
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
Lukas Meyer
Posts: 51
Joined: Thu Jul 24, 2008 6:14 am

Re: Action Button Security

Post by Lukas Meyer »

Hello,

1: no, the user needs to be in a group that has read rights to the process associated with the action button.
2: I'm almost sure that in 9.1 and below the process started by a user still executed as administrator and only recently (when Data/Security Admin was used) certain process-functions (like SECURITYREFRESH) fail for non-admin users.

If you need to use p.ex SECURITYREFRESH in a process normally executed by a non-admin user, you can use TM1RunTi (packed in Tm1 9.5.2 HF1) by calling a bat executeable via EXECUTECOMMAND(path-to-script,0)
(bear in mind that the process calling might hold some locks you need in the process called by tm1runti and mode 1 (=wait) can easily provoke a deadlock)
TM1RunTi acceppts encrypted credentials, so you can execute processes as anyone.

This holds true for TM1 9.5.X, so if TM1 10.1 changes everything this might be completely wrong ;)
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: Action Button Security

Post by jim wood »

Lukas,

Thanks for your help. Granting read access to the process did indeed do the job,

Jim.
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
lotsaram
MVP
Posts: 3706
Joined: Fri Mar 13, 2009 11:14 am
OLAP Product: TableManager1
Version: PA 2.0.x
Excel Version: Office 365
Location: Switzerland

Re: Action Button Security

Post by lotsaram »

Lukas Meyer wrote:Hello,

1: no, the user needs to be in a group that has read rights to the process associated with the action button.
2: I'm almost sure that in 9.1 and below the process started by a user still executed as administrator and only recently (when Data/Security Admin was used) certain process-functions (like SECURITYREFRESH) fail for non-admin users.

If you need to use p.ex SECURITYREFRESH in a process normally executed by a non-admin user, you can use TM1RunTi (packed in Tm1 9.5.2 HF1) by calling a bat executeable via EXECUTECOMMAND(path-to-script,0)
(bear in mind that the process calling might hold some locks you need in the process called by tm1runti and mode 1 (=wait) can easily provoke a deadlock)
TM1RunTi acceppts encrypted credentials, so you can execute processes as anyone.

This holds true for TM1 9.5.X, so if TM1 10.1 changes everything this might be completely wrong ;)
I'm not sure why you would go to the trouble of shelling out with RunTI and logging on in a new thread as a full admin user when all that needs to be done for a process to run as full Admin rather than Data Admin is to right-click the process and select "security access" which then allows the process to execute security functions.
Lukas Meyer
Posts: 51
Joined: Thu Jul 24, 2008 6:14 am

Re: Action Button Security

Post by Lukas Meyer »

lotsaram wrote: I'm not sure why you would go to the trouble of shelling out with RunTI and logging on in a new thread as a full admin user when all that needs to be done for a process to run as full Admin rather than Data Admin is to right-click the process and select "security access" which then allows the process to execute security functions.
Honestly - because I didn't know. There are two processes refreshing security, I only ran into the problem of having non-admin users running one of them two weeks ago.

However, the official answer would be, that I like to explore the capabilities of TM1 and that I needed to get familiar with runti.exe, plus that it had advantages if this part of the process was executed by the administrator user.
Post Reply