dbTalk Databases Forums  

Dynamic Security causes problem with parent child hierarchy

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


Discuss Dynamic Security causes problem with parent child hierarchy in the microsoft.public.sqlserver.olap forum.



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

Default Dynamic Security causes problem with parent child hierarchy - 07-21-2005 , 04:17 AM






Hi Guys,

I have developed security cube for dynamic security in SQL Server 2005 (June CTP).

Dimension are
Users (ID and name of users)
Organization - It is parent child dimension. It includes 3 levels: Enterprise, Teams and Agent.

SecurityFact (UserID, OrgID, SFAccess).

I have given only Agent12 in SecurityFact table. So it should show only Ent2, Team7 and Agent12 (As Team7 and Ent2 are its parent). But it shows all the agents in Team7 instead of just Agent12. Why so??

Role includes following AllowedSet
FILTER([ORGANIZATION].[HIR].members,( STRTOTUPLE( MID( USERNAME, INSTR(1, USERNAME, "\") + 1, 128 ) ), [SFAccess] ) = 1)

If dimension is not parent-child nature dimension, then above works nicely. Is there anything that we should keep in mind while dealing with parent-child dimension in customized dimension security.

Thanks





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.