dbTalk Databases Forums  

Feature / Bug !!!

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


Discuss Feature / Bug !!! in the microsoft.public.sqlserver.olap forum.



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

Default Feature / Bug !!! - 05-20-2004 , 01:01 AM






Hi

I have a cube with 2 roles defined in the Manage Roles section

For the first role, I have made the Dimension 1 - "FULLY RESTRICTED" and in the cell security I have defined some MDX expressions which includes elements only from other Dimensions (i.e. other than Dimension 1 - As Dimension 1 is fully restricted in Dimension Security)

For the Second Role, I have made the Dimension 1 - "Custom" and in the cell security I have defined some MDX expressions which includes elements from Dimension 1 also

Now I have a User 'A' who is added to both the Roles. From various documents I could infer that For User 'A' both the security rules will be executed and a particular cell will be displayed if atleast one of the roles resolves to show that cell value

User 'A' uses OWC to access the cubes
User 'A' is able to access Dimension 1 as the second role gives him partial access to the dimension. (some cells are blocked because of the Cell Security defined in second role

The Issue is - I expected User 'A' will be able to access only those cell values which passed the Cell Security defined on the Second Role. But unfortunately it is not the case.... User 'A' is able to access all the cell values of Dimension 1.
To correct this issue - I included a MDX expression in Cell Secutiy of Role 1 which will block all the Cell Values of Dimension I even though the Dimension has been fully restricted in the Dimension Security.

Is this an expected behaviour !!!

Cheers
Sank



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

Default Re: Feature / Bug !!! - 05-20-2004 , 07:55 PM






1) Role permissions are UNIONs. Meaning that if you can see something in one
role then that is good enough, you will see it regardless of the others.
2) Any user who is also the OLAP Adminisrators group is automatically given
full access regardless of their role participation.
--
Dave Wickert [MS]
dwickert (AT) online (DOT) microsoft.com
Program Manager
BI Practices Team
SQL BI Product Unit (Analysis Services)
--
This posting is provided "AS IS" with no warranties, and confers no rights.


"Sanka" <loonysan (AT) mailcity (DOT) com> wrote

Quote:
Hi,

I have a cube with 2 roles defined in the Manage Roles section.

For the first role, I have made the Dimension 1 - "FULLY RESTRICTED" and
in the cell security I have defined some MDX expressions which includes
elements only from other Dimensions (i.e. other than Dimension 1 - As
Dimension 1 is fully restricted in Dimension Security).
Quote:
For the Second Role, I have made the Dimension 1 - "Custom" and in the
cell security I have defined some MDX expressions which includes elements
from Dimension 1 also.
Quote:
Now I have a User 'A' who is added to both the Roles. From various
documents I could infer that For User 'A' both the security rules will be
executed and a particular cell will be displayed if atleast one of the roles
resolves to show that cell value.
Quote:
User 'A' uses OWC to access the cubes.
User 'A' is able to access Dimension 1 as the second role gives him
partial access to the dimension. (some cells are blocked because of the
Cell Security defined in second role)
Quote:
The Issue is - I expected User 'A' will be able to access only those cell
values which passed the Cell Security defined on the Second Role. But
unfortunately it is not the case.... User 'A' is able to access all the cell
values of Dimension 1.
Quote:
To correct this issue - I included a MDX expression in Cell Secutiy of
Role 1 which will block all the Cell Values of Dimension I even though the
Dimension has been fully restricted in the Dimension Security.
Quote:
Is this an expected behaviour !!!!

Cheers,
Sanka





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

Default Re: Feature / Bug !!! - 05-21-2004 , 02:01 AM



Dave

I totally agree with your statements

But I am referring to a slightly different context where in the User doesn't get access to a particular cell when he is a part of only one of the User Roles. But gets access to the Cell when he is a part of both User Roles

Let me try to explain with an example
Create two Roles in SALES Cube

In the First Role, completely restrict the access to Time Dimension using Dimension Security. So, all Users who belong to only this User Role will not have access to the TIme Dimension Elements

In the second role, Don't completely restrict the access to Time Dimension in Dimenion Security, but put the follwoing MDX in the cell securit
iif([time].currentmember is [Time].&[1997].&[Q1],0,1). So, all Users who belong to only this User Role will have access to the Time Dimension but they will not be able to see values for all measures for [Time].&[1997].&[Q1]

Under the above settings, if U add the user to both the User Roles... He will be able to access [Time].&[1997].&[Q1] values...

What I want to make is that the Cell Security and the Dimension Security of the Roles are probably not getting implemented in sync
Please let me know if need any further clarifications

(Note: The Users added to the roles are not OLAP Admins

- Sank





----- Dave Wickert [MSFT] wrote: ----

1) Role permissions are UNIONs. Meaning that if you can see something in on
role then that is good enough, you will see it regardless of the others
2) Any user who is also the OLAP Adminisrators group is automatically give
full access regardless of their role participation
--
Dave Wickert [MS
dwickert (AT) online (DOT) microsoft.co
Program Manage
BI Practices Tea
SQL BI Product Unit (Analysis Services
-
This posting is provided "AS IS" with no warranties, and confers no rights


"Sanka" <loonysan (AT) mailcity (DOT) com> wrote in messag
newsAAC4DBC-AB3A-4F51-ACD8-245ECE7E0CBB (AT) microsoft (DOT) com..
Quote:
Hi
I have a cube with 2 roles defined in the Manage Roles section
For the first role, I have made the Dimension 1 - "FULLY RESTRICTED" an
in the cell security I have defined some MDX expressions which include
elements only from other Dimensions (i.e. other than Dimension 1 - A
Dimension 1 is fully restricted in Dimension Security)
Quote:
For the Second Role, I have made the Dimension 1 - "Custom" and in th
cell security I have defined some MDX expressions which includes element
from Dimension 1 also
Quote:
Now I have a User 'A' who is added to both the Roles. From variou
documents I could infer that For User 'A' both the security rules will b
executed and a particular cell will be displayed if atleast one of the role
resolves to show that cell value
Quote:
User 'A' uses OWC to access the cubes
User 'A' is able to access Dimension 1 as the second role gives hi
partial access to the dimension. (some cells are blocked because of th
Cell Security defined in second role
Quote:
The Issue is - I expected User 'A' will be able to access only those cel
values which passed the Cell Security defined on the Second Role. Bu
unfortunately it is not the case.... User 'A' is able to access all the cel
values of Dimension 1
Quote:
To correct this issue - I included a MDX expression in Cell Secutiy o
Role 1 which will block all the Cell Values of Dimension I even though th
Dimension has been fully restricted in the Dimension Security
Quote:
Is this an expected behaviour !!!
Cheers
Sank


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

Default Re: Feature / Bug !!! - 05-21-2004 , 07:24 PM



Because of the different execution locations for cell security and dimension
security this might be possible, I've never tried it.
You might have to convert the member name to a string for the comparsion, or
use the ID to match.
Have you tried to do it?
--
Dave Wickert [MS]
dwickert (AT) online (DOT) microsoft.com
Program Manager
BI Practices Team
SQL BI Product Unit (Analysis Services)
--
This posting is provided "AS IS" with no warranties, and confers no rights.


"Sanka" <loonysan (AT) mailcity (DOT) com> wrote

Quote:
Dave,

I totally agree with your statements.

But I am referring to a slightly different context where in the User
doesn't get access to a particular cell when he is a part of only one of the
User Roles. But gets access to the Cell when he is a part of both User
Roles.
Quote:
Let me try to explain with an example.
Create two Roles in SALES Cube.

In the First Role, completely restrict the access to Time Dimension using
Dimension Security. So, all Users who belong to only this User Role will not
have access to the TIme Dimension Elements.
Quote:
In the second role, Don't completely restrict the access to Time Dimension
in Dimenion Security, but put the follwoing MDX in the cell security
iif([time].currentmember is [Time].&[1997].&[Q1],0,1). So, all Users who
belong to only this User Role will have access to the Time Dimension but
they will not be able to see values for all measures for
[Time].&[1997].&[Q1].
Quote:
Under the above settings, if U add the user to both the User Roles... He
will be able to access [Time].&[1997].&[Q1] values....

What I want to make is that the Cell Security and the Dimension Security
of the Roles are probably not getting implemented in sync.
Please let me know if need any further clarifications.

(Note: The Users added to the roles are not OLAP Admins)

- Sanka






----- Dave Wickert [MSFT] wrote: -----

1) Role permissions are UNIONs. Meaning that if you can see something
in one
role then that is good enough, you will see it regardless of the
others.
2) Any user who is also the OLAP Adminisrators group is automatically
given
full access regardless of their role participation.
--
Dave Wickert [MS]
dwickert (AT) online (DOT) microsoft.com
Program Manager
BI Practices Team
SQL BI Product Unit (Analysis Services)
--
This posting is provided "AS IS" with no warranties, and confers no
rights.


"Sanka" <loonysan (AT) mailcity (DOT) com> wrote in message
newsAAC4DBC-AB3A-4F51-ACD8-245ECE7E0CBB (AT) microsoft (DOT) com...
Hi,
I have a cube with 2 roles defined in the Manage Roles section.
For the first role, I have made the Dimension 1 - "FULLY
RESTRICTED" and
in the cell security I have defined some MDX expressions which
includes
elements only from other Dimensions (i.e. other than Dimension 1 - As
Dimension 1 is fully restricted in Dimension Security).
For the Second Role, I have made the Dimension 1 - "Custom" and in
the
cell security I have defined some MDX expressions which includes
elements
from Dimension 1 also.
Now I have a User 'A' who is added to both the Roles. From various
documents I could infer that For User 'A' both the security rules
will be
executed and a particular cell will be displayed if atleast one of
the roles
resolves to show that cell value.
User 'A' uses OWC to access the cubes.
User 'A' is able to access Dimension 1 as the second role gives him
partial access to the dimension. (some cells are blocked because of
the
Cell Security defined in second role)
The Issue is - I expected User 'A' will be able to access only
those cell
values which passed the Cell Security defined on the Second Role. But
unfortunately it is not the case.... User 'A' is able to access all
the cell
values of Dimension 1.
To correct this issue - I included a MDX expression in Cell Secutiy
of
Role 1 which will block all the Cell Values of Dimension I even
though the
Dimension has been fully restricted in the Dimension Security.
Is this an expected behaviour !!!!
Cheers,
Sanka




Reply With Quote
  #5  
Old   
Sanka
 
Posts: n/a

Default Re: Feature / Bug !!! - 05-24-2004 , 12:46 AM



Hi

As the Cell Security are always executed at the client side..
Do you mean for the discussed scenario, we need to change the execution location of all the dimension security also to Cell side..
Isn't it a huge overhead on security perspectives..

Thanks
Sanka

----- Dave Wickert [MSFT] wrote: ----

Because of the different execution locations for cell security and dimensio
security this might be possible, I've never tried it
You might have to convert the member name to a string for the comparsion, o
use the ID to match
Have you tried to do it
--
Dave Wickert [MS
dwickert (AT) online (DOT) microsoft.co
Program Manage
BI Practices Tea
SQL BI Product Unit (Analysis Services
-
This posting is provided "AS IS" with no warranties, and confers no rights


"Sanka" <loonysan (AT) mailcity (DOT) com> wrote in messag
news:AB72D4C6-DCC4-48D7-A5CB-67AC14872352 (AT) microsoft (DOT) com..
Quote:
Dave
I totally agree with your statements
But I am referring to a slightly different context where in the Use
doesn't get access to a particular cell when he is a part of only one of th
User Roles. But gets access to the Cell when he is a part of both Use
Roles
Quote:
Let me try to explain with an example
Create two Roles in SALES Cube
In the First Role, completely restrict the access to Time Dimension usin
Dimension Security. So, all Users who belong to only this User Role will no
have access to the TIme Dimension Elements
Quote:
In the second role, Don't completely restrict the access to Time Dimensio
in Dimenion Security, but put the follwoing MDX in the cell securit
iif([time].currentmember is [Time].&[1997].&[Q1],0,1). So, all Users wh
belong to only this User Role will have access to the Time Dimension bu
they will not be able to see values for all measures fo
[Time].&[1997].&[Q1]
Quote:
Under the above settings, if U add the user to both the User Roles... H
will be able to access [Time].&[1997].&[Q1] values...
What I want to make is that the Cell Security and the Dimension Securit
of the Roles are probably not getting implemented in sync
Please let me know if need any further clarifications
(Note: The Users added to the roles are not OLAP Admins
- Sank
----- Dave Wickert [MSFT] wrote: ----
1) Role permissions are UNIONs. Meaning that if you can see somethin
in on
role then that is good enough, you will see it regardless of th
others
2) Any user who is also the OLAP Adminisrators group is automaticall
give
full access regardless of their role participation
--
Dave Wickert [MS
dwickert (AT) online (DOT) microsoft.co
Program Manage
BI Practices Tea
SQL BI Product Unit (Analysis Services
-
This posting is provided "AS IS" with no warranties, and confers n
rights
"Sanka" <loonysan (AT) mailcity (DOT) com> wrote in messag
newsAAC4DBC-AB3A-4F51-ACD8-245ECE7E0CBB (AT) microsoft (DOT) com..
Hi
I have a cube with 2 roles defined in the Manage Roles section
For the first role, I have made the Dimension 1 - "FULL
RESTRICTED" an
in the cell security I have defined some MDX expressions whic
include
elements only from other Dimensions (i.e. other than Dimension 1 - A
Dimension 1 is fully restricted in Dimension Security)
For the Second Role, I have made the Dimension 1 - "Custom" and i
th
cell security I have defined some MDX expressions which include
element
from Dimension 1 also
Now I have a User 'A' who is added to both the Roles. From variou
documents I could infer that For User 'A' both the security rule
will b
executed and a particular cell will be displayed if atleast one o
the roles
resolves to show that cell value.
User 'A' uses OWC to access the cubes.
User 'A' is able to access Dimension 1 as the second role gives him
partial access to the dimension. (some cells are blocked because of
the
Cell Security defined in second role)
The Issue is - I expected User 'A' will be able to access only
those cell
values which passed the Cell Security defined on the Second Role. But
unfortunately it is not the case.... User 'A' is able to access all
the cell
values of Dimension 1.
To correct this issue - I included a MDX expression in Cell Secutiy
of
Role 1 which will block all the Cell Values of Dimension I even
though the
Dimension has been fully restricted in the Dimension Security.
Is this an expected behaviour !!!!
Cheers,
Sanka


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

Default Re: Feature / Bug !!! - 05-25-2004 , 02:21 PM




You don't have to change anything. This is just the way that cell level
security works. The entire dataset is moved down to the client and *then*
the MDX statement is evaluated by PTS on the client and the resultset is
returned to the client. You are mistaken if you believe that the protected
empty cells are not transfered down the wire. This is true for dimension
security (which is done on the server); but cell security is always
evaluated on the client.
--
Dave Wickert [MS]
dwickert (AT) online (DOT) microsoft.com
Program Manager
BI Practices Team
SQL BI Product Unit (Analysis Services)
--
This posting is provided "AS IS" with no warranties, and confers no rights.

"Sanka" <loonysan (AT) mailcity (DOT) com> wrote

Quote:
Hi,

As the Cell Security are always executed at the client side...
Do you mean for the discussed scenario, we need to change the execution
location of all the dimension security also to Cell side...
Isn't it a huge overhead on security perspectives...

Thanks,
Sanka

----- Dave Wickert [MSFT] wrote: -----

Because of the different execution locations for cell security and
dimension
security this might be possible, I've never tried it.
You might have to convert the member name to a string for the
comparsion, or
use the ID to match.
Have you tried to do it?
--
Dave Wickert [MS]
dwickert (AT) online (DOT) microsoft.com
Program Manager
BI Practices Team
SQL BI Product Unit (Analysis Services)
--
This posting is provided "AS IS" with no warranties, and confers no
rights.


"Sanka" <loonysan (AT) mailcity (DOT) com> wrote in message
news:AB72D4C6-DCC4-48D7-A5CB-67AC14872352 (AT) microsoft (DOT) com...
Dave,
I totally agree with your statements.
But I am referring to a slightly different context where in the
User
doesn't get access to a particular cell when he is a part of only one
of the
User Roles. But gets access to the Cell when he is a part of both
User
Roles.
Let me try to explain with an example.
Create two Roles in SALES Cube.
In the First Role, completely restrict the access to Time
Dimension using
Dimension Security. So, all Users who belong to only this User Role
will not
have access to the TIme Dimension Elements.
In the second role, Don't completely restrict the access to Time
Dimension
in Dimenion Security, but put the follwoing MDX in the cell security
iif([time].currentmember is [Time].&[1997].&[Q1],0,1). So, all
Users who
belong to only this User Role will have access to the Time Dimension
but
they will not be able to see values for all measures for
[Time].&[1997].&[Q1].
Under the above settings, if U add the user to both the User
Roles... He
will be able to access [Time].&[1997].&[Q1] values....
What I want to make is that the Cell Security and the Dimension
Security
of the Roles are probably not getting implemented in sync.
Please let me know if need any further clarifications.
(Note: The Users added to the roles are not OLAP Admins)
- Sanka
----- Dave Wickert [MSFT] wrote: -----
1) Role permissions are UNIONs. Meaning that if you can see
something
in one
role then that is good enough, you will see it regardless of
the
others.
2) Any user who is also the OLAP Adminisrators group is
automatically
given
full access regardless of their role participation.
--
Dave Wickert [MS]
dwickert (AT) online (DOT) microsoft.com
Program Manager
BI Practices Team
SQL BI Product Unit (Analysis Services)
--
This posting is provided "AS IS" with no warranties, and
confers no
rights.
"Sanka" <loonysan (AT) mailcity (DOT) com> wrote in message
newsAAC4DBC-AB3A-4F51-ACD8-245ECE7E0CBB (AT) microsoft (DOT) com...
Hi,
I have a cube with 2 roles defined in the Manage Roles section.
For the first role, I have made the Dimension 1 - "FULLY
RESTRICTED" and
in the cell security I have defined some MDX expressions which
includes
elements only from other Dimensions (i.e. other than Dimension
1 - As
Dimension 1 is fully restricted in Dimension Security).
For the Second Role, I have made the Dimension 1 - "Custom" and
in
the
cell security I have defined some MDX expressions which
includes
elements
from Dimension 1 also.
Now I have a User 'A' who is added to both the Roles. From
various
documents I could infer that For User 'A' both the security
rules
will be
executed and a particular cell will be displayed if atleast
one of
the roles
resolves to show that cell value.
User 'A' uses OWC to access the cubes.
User 'A' is able to access Dimension 1 as the second role gives
him
partial access to the dimension. (some cells are blocked
because of
the
Cell Security defined in second role)
The Issue is - I expected User 'A' will be able to access only
those cell
values which passed the Cell Security defined on the Second
Role. But
unfortunately it is not the case.... User 'A' is able to
access all
the cell
values of Dimension 1.
To correct this issue - I included a MDX expression in Cell
Secutiy
of
Role 1 which will block all the Cell Values of Dimension I
even
though the
Dimension has been fully restricted in the Dimension Security.
Is this an expected behaviour !!!!
Cheers,
Sanka




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.