dbTalk Databases Forums  

AS2000 dimension security

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


Discuss AS2000 dimension security in the microsoft.public.sqlserver.olap forum.



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

Default AS2000 dimension security - 11-09-2005 , 06:40 PM






I am trying to implement security on a shared dimension (location) as well as
cube security using a combination of database roles. I've set up one group
of roles that grants access to cubes and another set of roles that grants
access to the appropriate members of the location dimension.

I have set the database roles that grant cube access to have access to the
location dimension fully restricted. I have set the database roles that
grant access to the appropriate members of the location dimension to not have
access to any cubes.

Each user then has two database roles - one to determine which cube(s) they
can access and the other to determine which location(s) are visible.

When I test this out by browsing a cube, the location dimension appears to
be fully restricted. It seems like the role granting access to the cube is
controlling what members of the location dimension are visible in that cube,
rather than the role that is set up just to control the location dimension
security (but has access to no cubes.)

If I give the user just one role (combining cube and dimension security) it
seems to work as I expect.

Any ideas as to what might be wrong or how I can better set this up?

Thanks!

Reply With Quote
  #2  
Old   
Dean Adam
 
Posts: n/a

Default RE: AS2000 dimension security - 11-10-2005 , 03:03 PM






The cube check boxes in a DB role don't behave quite the way you assume.
Unchecking a box for a cube switches off the role for that cube. So, if
DBRoleA does not have a check next to Cube3, then this role will not be
considered when someone attempts to access Cube3.

I'm not sure how clearly I explained that. Let me know if I need to try
again.
--
Dean Adam
Magenic Technologies


"Mike" wrote:

Quote:
I am trying to implement security on a shared dimension (location) as well as
cube security using a combination of database roles. I've set up one group
of roles that grants access to cubes and another set of roles that grants
access to the appropriate members of the location dimension.

I have set the database roles that grant cube access to have access to the
location dimension fully restricted. I have set the database roles that
grant access to the appropriate members of the location dimension to not have
access to any cubes.

Each user then has two database roles - one to determine which cube(s) they
can access and the other to determine which location(s) are visible.

When I test this out by browsing a cube, the location dimension appears to
be fully restricted. It seems like the role granting access to the cube is
controlling what members of the location dimension are visible in that cube,
rather than the role that is set up just to control the location dimension
security (but has access to no cubes.)

If I give the user just one role (combining cube and dimension security) it
seems to work as I expect.

Any ideas as to what might be wrong or how I can better set this up?

Thanks!

Reply With Quote
  #3  
Old   
Mike
 
Posts: n/a

Default RE: AS2000 dimension security - 11-10-2005 , 05:15 PM



Dean,

Thanks for responding. I think I understand what you're saying. I do see
that if I don't check the box for the cube in the database role,
the dimension security rule I have in that database role is not applied to
that cube.

I guess this means that I cannot have separate roles that only handle
dimension security for my locations without granting access to specific
cubes. I'll have to create a role for each location/cube combination that I
need. I had hoped to avoid that because with 20 locations and 10 cubes, I'll
have a lot of roles to create.

Does that sound right?

Thanks again,
Mike

"Dean Adam" wrote:

Quote:
The cube check boxes in a DB role don't behave quite the way you assume.
Unchecking a box for a cube switches off the role for that cube. So, if
DBRoleA does not have a check next to Cube3, then this role will not be
considered when someone attempts to access Cube3.

I'm not sure how clearly I explained that. Let me know if I need to try
again.
--
Dean Adam
Magenic Technologies


"Mike" wrote:

I am trying to implement security on a shared dimension (location) as well as
cube security using a combination of database roles. I've set up one group
of roles that grants access to cubes and another set of roles that grants
access to the appropriate members of the location dimension.

I have set the database roles that grant cube access to have access to the
location dimension fully restricted. I have set the database roles that
grant access to the appropriate members of the location dimension to not have
access to any cubes.

Each user then has two database roles - one to determine which cube(s) they
can access and the other to determine which location(s) are visible.

When I test this out by browsing a cube, the location dimension appears to
be fully restricted. It seems like the role granting access to the cube is
controlling what members of the location dimension are visible in that cube,
rather than the role that is set up just to control the location dimension
security (but has access to no cubes.)

If I give the user just one role (combining cube and dimension security) it
seems to work as I expect.

Any ideas as to what might be wrong or how I can better set this up?

Thanks!

Reply With Quote
  #4  
Old   
Dean Adam
 
Posts: n/a

Default RE: AS2000 dimension security - 11-11-2005 , 08:27 AM



Mike,

That's right.

With that number of roles, I would give some thought to using dynamic
dimension security. If you can handle the location security dynamically,
e.g. based on a list of users in a member property in the location dim, then
you would be able to have just one role per cube.

--
Dean Adam
Magenic Technologies


"Mike" wrote:

Quote:
Dean,

Thanks for responding. I think I understand what you're saying. I do see
that if I don't check the box for the cube in the database role,
the dimension security rule I have in that database role is not applied to
that cube.

I guess this means that I cannot have separate roles that only handle
dimension security for my locations without granting access to specific
cubes. I'll have to create a role for each location/cube combination that I
need. I had hoped to avoid that because with 20 locations and 10 cubes, I'll
have a lot of roles to create.

Does that sound right?

Thanks again,
Mike

"Dean Adam" wrote:

The cube check boxes in a DB role don't behave quite the way you assume.
Unchecking a box for a cube switches off the role for that cube. So, if
DBRoleA does not have a check next to Cube3, then this role will not be
considered when someone attempts to access Cube3.

I'm not sure how clearly I explained that. Let me know if I need to try
again.
--
Dean Adam
Magenic Technologies


"Mike" wrote:

I am trying to implement security on a shared dimension (location) as well as
cube security using a combination of database roles. I've set up one group
of roles that grants access to cubes and another set of roles that grants
access to the appropriate members of the location dimension.

I have set the database roles that grant cube access to have access to the
location dimension fully restricted. I have set the database roles that
grant access to the appropriate members of the location dimension to not have
access to any cubes.

Each user then has two database roles - one to determine which cube(s) they
can access and the other to determine which location(s) are visible.

When I test this out by browsing a cube, the location dimension appears to
be fully restricted. It seems like the role granting access to the cube is
controlling what members of the location dimension are visible in that cube,
rather than the role that is set up just to control the location dimension
security (but has access to no cubes.)

If I give the user just one role (combining cube and dimension security) it
seems to work as I expect.

Any ideas as to what might be wrong or how I can better set this up?

Thanks!

Reply With Quote
  #5  
Old   
Dave Wickert [MSFT]
 
Posts: n/a

Default Re: AS2000 dimension security - 11-19-2005 , 10:02 PM



Dynamic security
http://www.mosha.com/msolap/samples/...20security.zip
--
Dave Wickert [MSFT]
dwickert (AT) online (DOT) microsoft.com
Program Manager
BI Systems Team
SQL BI Product Unit (Analysis Services)
--
This posting is provided "AS IS" with no warranties, and confers no rights.


"Dean Adam" <DeanAdam (AT) discussions (DOT) microsoft.com> wrote

Quote:
Mike,

That's right.

With that number of roles, I would give some thought to using dynamic
dimension security. If you can handle the location security dynamically,
e.g. based on a list of users in a member property in the location dim,
then
you would be able to have just one role per cube.

--
Dean Adam
Magenic Technologies


"Mike" wrote:

Dean,

Thanks for responding. I think I understand what you're saying. I do
see
that if I don't check the box for the cube in the database role,
the dimension security rule I have in that database role is not applied
to
that cube.

I guess this means that I cannot have separate roles that only handle
dimension security for my locations without granting access to specific
cubes. I'll have to create a role for each location/cube combination
that I
need. I had hoped to avoid that because with 20 locations and 10 cubes,
I'll
have a lot of roles to create.

Does that sound right?

Thanks again,
Mike

"Dean Adam" wrote:

The cube check boxes in a DB role don't behave quite the way you
assume.
Unchecking a box for a cube switches off the role for that cube. So,
if
DBRoleA does not have a check next to Cube3, then this role will not be
considered when someone attempts to access Cube3.

I'm not sure how clearly I explained that. Let me know if I need to
try
again.
--
Dean Adam
Magenic Technologies


"Mike" wrote:

I am trying to implement security on a shared dimension (location) as
well as
cube security using a combination of database roles. I've set up one
group
of roles that grants access to cubes and another set of roles that
grants
access to the appropriate members of the location dimension.

I have set the database roles that grant cube access to have access
to the
location dimension fully restricted. I have set the database roles
that
grant access to the appropriate members of the location dimension to
not have
access to any cubes.

Each user then has two database roles - one to determine which
cube(s) they
can access and the other to determine which location(s) are visible.

When I test this out by browsing a cube, the location dimension
appears to
be fully restricted. It seems like the role granting access to the
cube is
controlling what members of the location dimension are visible in
that cube,
rather than the role that is set up just to control the location
dimension
security (but has access to no cubes.)

If I give the user just one role (combining cube and dimension
security) it
seems to work as I expect.

Any ideas as to what might be wrong or how I can better set this up?

Thanks!



Reply With Quote
  #6  
Old   
John Salig
 
Posts: n/a

Default Re: AS2000 dimension security - 12-12-2005 , 02:56 PM



Dave,

Is the recommended method to accomplish dynamic security in AS2005 the same?
If not do you have any links that describe a best practice scenario for this
in AS 2005?

Thanks,

John

"Dave Wickert [MSFT]" <dwickert (AT) online (DOT) microsoft.com> wrote

Quote:
Dynamic security
http://www.mosha.com/msolap/samples/...20security.zip
--
Dave Wickert [MSFT]
dwickert (AT) online (DOT) microsoft.com
Program Manager
BI Systems Team
SQL BI Product Unit (Analysis Services)
--
This posting is provided "AS IS" with no warranties, and confers no
rights.


"Dean Adam" <DeanAdam (AT) discussions (DOT) microsoft.com> wrote in message
news:F0230CFA-8F7B-45C5-BD5D-9C5F48821FD7 (AT) microsoft (DOT) com...
Mike,

That's right.

With that number of roles, I would give some thought to using dynamic
dimension security. If you can handle the location security
dynamically,
e.g. based on a list of users in a member property in the location dim,
then
you would be able to have just one role per cube.

--
Dean Adam
Magenic Technologies


"Mike" wrote:

Dean,

Thanks for responding. I think I understand what you're saying. I do
see
that if I don't check the box for the cube in the database role,
the dimension security rule I have in that database role is not applied
to
that cube.

I guess this means that I cannot have separate roles that only handle
dimension security for my locations without granting access to specific
cubes. I'll have to create a role for each location/cube combination
that I
need. I had hoped to avoid that because with 20 locations and 10
cubes,
I'll
have a lot of roles to create.

Does that sound right?

Thanks again,
Mike

"Dean Adam" wrote:

The cube check boxes in a DB role don't behave quite the way you
assume.
Unchecking a box for a cube switches off the role for that cube. So,
if
DBRoleA does not have a check next to Cube3, then this role will not
be
considered when someone attempts to access Cube3.

I'm not sure how clearly I explained that. Let me know if I need to
try
again.
--
Dean Adam
Magenic Technologies


"Mike" wrote:

I am trying to implement security on a shared dimension (location)
as
well as
cube security using a combination of database roles. I've set up
one
group
of roles that grants access to cubes and another set of roles that
grants
access to the appropriate members of the location dimension.

I have set the database roles that grant cube access to have access
to the
location dimension fully restricted. I have set the database roles
that
grant access to the appropriate members of the location dimension
to
not have
access to any cubes.

Each user then has two database roles - one to determine which
cube(s) they
can access and the other to determine which location(s) are
visible.

When I test this out by browsing a cube, the location dimension
appears to
be fully restricted. It seems like the role granting access to the
cube is
controlling what members of the location dimension are visible in
that cube,
rather than the role that is set up just to control the location
dimension
security (but has access to no cubes.)

If I give the user just one role (combining cube and dimension
security) it
seems to work as I expect.

Any ideas as to what might be wrong or how I can better set this
up?

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.