dbTalk Databases Forums  

'Across Dimension' Security

microsoft.public.sqlserver.olap microsoft.public.sqlserver.olap


Discuss 'Across Dimension' Security in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Carrie Taylor
 
Posts: n/a

Default 'Across Dimension' Security - 03-23-2005 , 07:31 PM






Hi Guys - hope you can help!

I have the following cube dimensions:

Product (Department, SubDepartment, Product - Members)
Store (Store Type, Store Name - Members)

I wish to apply the following security; All users across stores can view
data to the Sub Department Level. At Product level, only a store member
(with the store role assigned) can view data. It is almost as if I need to
apply Dimension Security on the Product Dimension, but based on store. I
know I can create a 3rd dimension which just holds store and product (and
lock this one down with dimension security), but I know that nesting each
product by Store Name will lead to a very large dimension (ie lots of stores,
lots of products).

Can anyone help me here?

Reply With Quote
  #2  
Old   
Richard Tkachuk [MSFT]
 
Posts: n/a

Default Re: 'Across Dimension' Security - 04-04-2005 , 01:14 PM






Hi Carrie,

Looks like you need to use cell security. You can either create as many
roles as there are stores (more on this in a sec) with an expression like
this:

Product.Currentmember.level.ordinal <= Product.SubDeparment.Ordinal
OR
Store.[Store Name] IS <store that this role is permitted to see>

Alternatively, you could set up a single role and determine what store the
user was from using the username function. (Use this approach if you have
more stores than roles you want to have to manage).

Hope this helps,
Richard

--
_______________
Disclaimer : This posting is provided "AS IS" with no warranties, and
confers no rights.

"Carrie Taylor" <CarrieTaylor (AT) discussions (DOT) microsoft.com> wrote

Quote:
Hi Guys - hope you can help!

I have the following cube dimensions:

Product (Department, SubDepartment, Product - Members)
Store (Store Type, Store Name - Members)

I wish to apply the following security; All users across stores can view
data to the Sub Department Level. At Product level, only a store member
(with the store role assigned) can view data. It is almost as if I need
to
apply Dimension Security on the Product Dimension, but based on store. I
know I can create a 3rd dimension which just holds store and product (and
lock this one down with dimension security), but I know that nesting each
product by Store Name will lead to a very large dimension (ie lots of
stores,
lots of products).

Can anyone help me here?



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.