Cell Security Cube creation from TI?
-
- Posts: 6
- Joined: Mon Sep 13, 2010 2:13 pm
- OLAP Product: TM1
- Version: 9.5.1
- Excel Version: 2007
Cell Security Cube creation from TI?
Hi, I was wondering if it was possible to create a Cell-level security cube from a TI process? At present I'm creating them via the Server Explorer -> Security -> Create Cell Security Cube path.
Thanks!
Thanks!
-
- MVP
- Posts: 2836
- Joined: Tue Feb 16, 2010 2:39 pm
- OLAP Product: TM1, Palo
- Version: Beginning of time thru 10.2
- Excel Version: 2003-2007-2010-2013
- Location: Atlanta, GA
- Contact:
Re: Cell Security Cube creation from TI?
No. You need to use the Architect or Perspectives user interface to create any system cube (those that start with "}") whether it is for attributes, securty, or drill throughs. However, once created, you are free to update them any way you want. whether through the UI or via TI or rules.
-
- Posts: 6
- Joined: Mon Sep 13, 2010 2:13 pm
- OLAP Product: TM1
- Version: 9.5.1
- Excel Version: 2007
Re: Cell Security Cube creation from TI?
That's what I was afraid of.
Thanks for the reply!
Thanks for the reply!
-
- MVP
- Posts: 3701
- Joined: Fri Mar 13, 2009 11:14 am
- OLAP Product: TableManager1
- Version: PA 2.0.x
- Excel Version: Office 365
- Location: Switzerland
Re: Cell Security Cube creation from TI?
You can add in '}' control object and security cubes with TI but they will not be seen by the security model until a security refresh or server restart.
-
- MVP
- Posts: 2836
- Joined: Tue Feb 16, 2010 2:39 pm
- OLAP Product: TM1, Palo
- Version: Beginning of time thru 10.2
- Excel Version: 2003-2007-2010-2013
- Location: Atlanta, GA
- Contact:
Re: Cell Security Cube creation from TI?
Do those at your own peril. Some may work but others won't. It's not worth the risk. Modifying the security cube itself via TI is highly desirable but why would you need to decide if a cube and/or dimension is worth securing on the fly? It's either worthy of security or it isn't. Not much to be gained from making that decsion dynamically.lotsaram wrote:You can add in '}' control object and security cubes with TI but they will not be seen by the security model until a security refresh or server restart.
-
- Posts: 4
- Joined: Sat Jul 28, 2012 5:22 pm
- OLAP Product: TM1
- Version: 9.5.2
- Excel Version: 2010
Re: Cell Security Cube creation from TI?
Just my 10 cents (I know this post is old already).
From an implementation point of view, some will be needing this to happen. There will come a time when you will need to duplicate cubes - and at the same time - duplicate the security. Which is why if only TI has a feature like this - then we can automate this process for each cube that we need to create.
Besides, TM1 already gave an API for Element Security. Why not for Cell Security?
It's not useless and there's something worth it to be gained. Systems and requirements evolve. Design needs change sometimes. Nothing is perfect.
From an implementation point of view, some will be needing this to happen. There will come a time when you will need to duplicate cubes - and at the same time - duplicate the security. Which is why if only TI has a feature like this - then we can automate this process for each cube that we need to create.
Besides, TM1 already gave an API for Element Security. Why not for Cell Security?
It's not useless and there's something worth it to be gained. Systems and requirements evolve. Design needs change sometimes. Nothing is perfect.
Life is like a rock.......... It's hard.
-
- Posts: 1
- Joined: Wed Feb 06, 2013 9:59 pm
- OLAP Product: tm1
- Version: 10.1
- Excel Version: Excel 2010
Re: Cell Security Cube creation from TI?
I think you should be able to create such cell security cube by using CubeCreate ti function with using "}" in control cube name (same }cellsecurity_<cubename>), the dimension sequence used in this ti function probably matters.
-
- Site Admin
- Posts: 6647
- Joined: Sun May 11, 2008 2:30 am
- OLAP Product: TM1
- Version: PA2.0.9.18 Classic NO PAW!
- Excel Version: 2013 and Office 365
- Location: Sydney, Australia
- Contact:
Re: Cell Security Cube creation from TI?
I believe that Lotsaram and Tomok addressed that option in their posts above, including the limitation (the need to at least do a security refresh) that Lotsaram mentioned.VickyFan wrote:I think you should be able to create such cell security cube by using CubeCreate ti function with using "}" in control cube name (same }cellsecurity_<cubename>), the dimension sequence used in this ti function probably matters.
"To them, equipment failure is terrifying. To me, it’s 'Tuesday.' "
-----------
Before posting, please check the documentation, the FAQ, the Search function and FOR THE LOVE OF GLUB the Request Guidelines.
-----------
Before posting, please check the documentation, the FAQ, the Search function and FOR THE LOVE OF GLUB the Request Guidelines.
-
- Posts: 11
- Joined: Mon Feb 04, 2013 11:30 pm
- OLAP Product: Product
- Version: Version
- Excel Version: Version
- Location: Location
Re: Cell Security Cube creation from TI?
Hi,rmwachter wrote:Hi, I was wondering if it was possible to create a Cell-level security cube from a TI process? At present I'm creating them via the Server Explorer -> Security -> Create Cell Security Cube path.
Thanks!
I am actually using a such security for one of my clients. The process destroys CellSecurity Cubes, recreates them and then fills them with data.
Works fine for me!
Don't forget to refresh Security at the end of you process.

Omar
-
- MVP
- Posts: 3701
- Joined: Fri Mar 13, 2009 11:14 am
- OLAP Product: TableManager1
- Version: PA 2.0.x
- Excel Version: Office 365
- Location: Switzerland
Re: Cell Security Cube creation from TI?
Resurrecting an old post but just in case someone should search for "TI function to create cell security cube" this now exists as it was introduced in 10.2
http://www-01.ibm.com/support/knowledge ... reate.html
The function is called CellSecurityCubeCreate and has the 2 arguments CellSecurityCubeCreate(‘Cube’, ‘dimension map’);
"Dimension Map" is in the form of a true/false colon delimited array e.g. for a cube with 5 dimensions '0:1:0:0:1' which will create a cell security cube containing only the 2nd and 5th dimensions of the target cube. This is a significant enhancement as it makes cell security cubes much more compact and able to be maintained by TI data entry or even manual entry, previously cell security maintenance was only really possible via rules.
The TI function is the only way to create a lesser dimensioned cell security cube. The right-click create cell security cube option in the security context menu will still create the "old fashioned" cell security cube.
Also thankfully a CellSecurityCubeDestroy function was also introduced. Gone are the days where the only way to remove cell security once implemented was to shut down the server and delete the .cub file.
http://www-01.ibm.com/support/knowledge ... reate.html
The function is called CellSecurityCubeCreate and has the 2 arguments CellSecurityCubeCreate(‘Cube’, ‘dimension map’);
"Dimension Map" is in the form of a true/false colon delimited array e.g. for a cube with 5 dimensions '0:1:0:0:1' which will create a cell security cube containing only the 2nd and 5th dimensions of the target cube. This is a significant enhancement as it makes cell security cubes much more compact and able to be maintained by TI data entry or even manual entry, previously cell security maintenance was only really possible via rules.
The TI function is the only way to create a lesser dimensioned cell security cube. The right-click create cell security cube option in the security context menu will still create the "old fashioned" cell security cube.
Also thankfully a CellSecurityCubeDestroy function was also introduced. Gone are the days where the only way to remove cell security once implemented was to shut down the server and delete the .cub file.
Please place all requests for help in a public thread. I will not answer PMs requesting assistance.
-
- Regular Participant
- Posts: 424
- Joined: Sat Mar 10, 2012 1:03 pm
- OLAP Product: IBM TM1, Planning Analytics, P
- Version: PAW 2.0.8
- Excel Version: 2019
Re: Cell Security Cube creation from TI?
Thanks a lot,lotsaram.
"You Never Fail Until You Stop Trying......"
-
- Posts: 10
- Joined: Fri Aug 05, 2016 11:23 am
- OLAP Product: Cognos TM1 Planning Analytics
- Version: 10.2.2, 11.0
- Excel Version: Excel 2019
Re: Cell Security Cube creation from TI?
In order to update a security cube with a TI process, you need to use
ElementSecurityPut(Level, DimName, ElName, Group);
Simple CellPutS will not work (and will not generate logs error).
ElementSecurityPut(Level, DimName, ElName, Group);
Simple CellPutS will not work (and will not generate logs error).
-
- MVP
- Posts: 3701
- Joined: Fri Mar 13, 2009 11:14 am
- OLAP Product: TableManager1
- Version: PA 2.0.x
- Excel Version: Office 365
- Location: Switzerland
Re: Cell Security Cube creation from TI?
I'm not sure what kind of drugs you are smoking but ...
1/ of course CellPutS will work to update a security cube (any type of security cube)
2/ the thread is in relation to cell security not element security, ElementSecurityPut ain't gonna work for a cell security cube
3/ yes if you are talking about creating a element security cube then using the ElementSecurityPut function is the way to do it via TI
4/ regardless of CellPutS, ElementSecurityPut or CellSecurityCubeCreate, in order to work the "Security Access" option for the TI must be enabled
Please place all requests for help in a public thread. I will not answer PMs requesting assistance.