Help on Security please...

Post Reply
Christian
Posts: 46
Joined: Wed Nov 18, 2009 8:43 pm
OLAP Product: TM1
Version: 9.4
Excel Version: 2003

Help on Security please...

Post by Christian »

Hi All,

TM1 9.5 and Contributor 9.5

I'm trying to restrict the employees that can be viewed by Department. I have gone to my Element Security control cube for this employee list. So far, in that cube, I have defined the employees in these two departments; those in 101 and those in 102.

Since I have access to both departments, I can see the employees of both departments when I am in EITHER Department 101 or Department 102. This may be logical, but I want to see ONLY the employees in Dept 101 when I select Dept 101, and ONLY the employees in 102 when I select that Department. Ideally, it will work that way in Contributor as well.

Is the only way to do this by using cell level security? If so, what's the fastest way to do that? If I have to populate every Department, every Cost Center, every Employee type, every Role, and every Month manually in the control cube, I'll be older than Methusala by the time I'm done!

I appreciate any ideas.
Thanks!
lotsaram
MVP
Posts: 3703
Joined: Fri Mar 13, 2009 11:14 am
OLAP Product: TableManager1
Version: PA 2.0.x
Excel Version: Office 365
Location: Switzerland

Re: Help on Security please...

Post by lotsaram »

What you can see as an admin is not so much relevant as what a user can see who has ONLY access to either dept 101 or 102 ...
Christian
Posts: 46
Joined: Wed Nov 18, 2009 8:43 pm
OLAP Product: TM1
Version: 9.4
Excel Version: 2003

Re: Help on Security please...

Post by Christian »

lotsaram wrote:What you can see as an admin is not so much relevant as what a user can see who has ONLY access to either dept 101 or 102 ...
Right, but if a user has access to 4 departments, they open Dept 101, and there, they see ALL of the employees for their 4 departments, that's not going to fly. I guess I could create subsets in each department.
User avatar
Martin Ryan
Site Admin
Posts: 1989
Joined: Sat May 10, 2008 9:08 am
OLAP Product: TM1
Version: 10.1
Excel Version: 2010
Location: Wellington, New Zealand
Contact:

Re: Help on Security please...

Post by Martin Ryan »

This is a tricky situation that isn't particularly well handled by TM1. You have a few options. The first is to stick your people and department into the same dimension - but this only works if one person can only ever belong to one department.

Another option is to use cell level security with rules (not for the faint hearted though as this post shows). Set up a two (or three if you want to include clients) dimensional cube with department and people. Put a 1 flag at intersections where the two can be seen together and then use that 2D cube to populate the much bigger }CubeSecurity_Cube.

Another possible option (but again it'll only work if people are in just the one dept) is to store the department as an attribute in the people dimension and write a rule along the lines of ['Show'] = if(attrs('People', !People, 'Dept')@=!Dept), 1, 0); and zero suppress this. The feeders will be tricky though.

Hmm, with all those qualifiers I'm not sure if I've helped or not... :D

Martin
Please do not send technical questions via private message or email. Post them in the forum where you'll probably get a faster reply, and everyone can benefit from the answers.
Jodi Ryan Family Lawyer
User avatar
Steve Rowe
Site Admin
Posts: 2456
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: Help on Security please...

Post by Steve Rowe »

AFAIK there is no way to do this in TM1, there is no way to make the security dynamic enough to say if a user has selected Dept 101 then only show employees of that department in the employee dimension.

Perhaps if you explain a bit more about the context in which you are trying to achieve this someone can point you at a workaround.
Cheers
Technical Director
www.infocat.co.uk
lotsaram
MVP
Posts: 3703
Joined: Fri Mar 13, 2009 11:14 am
OLAP Product: TableManager1
Version: PA 2.0.x
Excel Version: Office 365
Location: Switzerland

Re: Help on Security please...

Post by lotsaram »

2c
Creating subsets or MDX of employees by department and educating those people who may have access to multiple departments is probably the easier option than trying to overcome this!
kpk
MVP
Posts: 214
Joined: Tue Nov 11, 2008 11:57 pm
OLAP Product: TM1, CX
Version: TM1 7x 8x 9x 10x CX 9.5 10.1
Excel Version: XP 2003 2007 2010
Location: Hungary

Re: Help on Security please...

Post by kpk »

Hello,

Is this cube for budgeting or for read-only reporting?
- If it is a read-only application then splitting the information into 2 dimension (employee and dept) and using suppress-zero you can create the required view.
Do you need a solution in a cubeview or you can live together with Active form?
- In Active form you can create a dynamic solution where selecting element from one (title) dimension can drive the MDX definition subset on the row dimension.

Regards,
Peter
Best Regards,
Peter
Christian
Posts: 46
Joined: Wed Nov 18, 2009 8:43 pm
OLAP Product: TM1
Version: 9.4
Excel Version: 2003

Re: Help on Security please...

Post by Christian »

Thanks Guys,

This is actually for views in TM1 Contributor v9.5 and is a budget application, not read-only reporting.

I think the answer is, what I am used to, and pictured, can be done, but a little knowledge transfer to the users and subset creation in TM1 Contrib is going to be the path of least resistance. I've discussed this with the client and they are OK with it.

Fortunately, we only have about 25 contributor users, so we can customize this for them.

Thanks for all of the ideas, I've stored those away for sure.

Take care,
Christian
Post Reply