COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Framework Manager => Topic started by: gosoccer on 16 Nov 2016 01:12:32 PM

Title: Framework Manager and Data Security Testing of Data Security Group
Post by: gosoccer on 16 Nov 2016 01:12:32 PM
Hi, ;D ;D

I have established the Data Security within FM by using the Add Groups and Filter Options as a part of FM Model - Actions - Specify Data Security. Below shows a sample Group that is based on our LDAP.

HR_DEPT_ANALYST[Directory>HRPortal>HR>groups>HR_DEPT
and the Filter is
HR_DEPT_CD = '1'.

The HR_DEPT is actually a Subject Query that is used within the Report developed using Report Studio.

My question is as following:
Is there anyway within FM or Report Studio to test the validity of the Filter and this security setting.
To bascially DEBUG and see if it's responding to HR_DEPT_CD = 1.

i.e., Is there way to run the Subject Query within the FM but add a filter to see if this security group
that is added to the Subject Query called "HR_DEPT" which includes the HR_DEPT_CD is working?

So, in this case, within this testing, only Departments with HR_DEPT_CD = 1 should show when we
test the Subject Query. That is if I login to the FM Model using a user that belongs only the HR_DEPT_CD=1

Let me know what you think at your convenience.

Thanks so much.

:) :)

Title: Re: Framework Manager and Data Security Testing of Data Security Group
Post by: MFGF on 16 Nov 2016 05:28:30 PM
Quote from: gosoccer on 16 Nov 2016 01:12:32 PM
Hi, ;D ;D

I have established the Data Security within FM by using the Add Groups and Filter Options as a part of FM Model - Actions - Specify Data Security. Below shows a sample Group that is based on our LDAP.

HR_DEPT_ANALYST[Directory>HRPortal>HR>groups>HR_DEPT
and the Filter is
HR_DEPT_CD = '1'.

The HR_DEPT is actually a Subject Query that is used within the Report developed using Report Studio.

My question is as following:
Is there anyway within FM or Report Studio to test the validity of the Filter and this security setting.
To bascially DEBUG and see if it's responding to HR_DEPT_CD = 1.

i.e., Is there way to run the Subject Query within the FM but add a filter to see if this security group
that is added to the Subject Query called "HR_DEPT" which includes the HR_DEPT_CD is working?

So, in this case, within this testing, only Departments with HR_DEPT_CD = 1 should show when we
test the Subject Query. That is if I login to the FM Model using a user that belongs only the HR_DEPT_CD=1

Let me know what you think at your convenience.

Thanks so much.

:) :)

Hi,

Yes. Just log in as a user who is a member of the HR_DEPT group. Is this a trick question? :)

Cheers!

MF.
Title: Re: Framework Manager and Data Security Testing of Data Security Group
Post by: gosoccer on 16 Nov 2016 05:35:21 PM
Actually, may be!  :)

So, if the user doesn't exist in the specified group, I'm curious if the access to the Report will not be even possible or
it'll show all Departments.

For right now, it's showing all Departments since the User doesn't exist in the LDAP group.

There are our Groups and Filters related to this same Subject Query as well.

That doesn't look right?

Thanks,
:D
Title: Re: Framework Manager and Data Security Testing of Data Security Group
Post by: MFGF on 17 Nov 2016 04:27:02 AM
Quote from: gosoccer on 16 Nov 2016 05:35:21 PM
Actually, may be!  :)

So, if the user doesn't exist in the specified group, I'm curious if the access to the Report will not be even possible or
it'll show all Departments.

For right now, it's showing all Departments since the User doesn't exist in the LDAP group.

There are our Groups and Filters related to this same Subject Query as well.

That doesn't look right?

Thanks,
:D

Hi,

Your filter is based on a group, which means it is active for anyone who belongs to that group. For people not belonging to the group, it isn't active. That is how data security works.

If you want people not belonging to the group to see nothing, you could set up another security filter based on the Everyone group that returns no rows?

MF.
Title: Re: Framework Manager and Data Security Testing of Data Security Group
Post by: gosoccer on 31 Jan 2017 11:36:55 AM
Got it! Makes sense. Thx