Question:
Is it possible to set security at the class level within a
universe?
Like one user group will see the data without any condition
and other user group will see the same class where the xyz column of ABC table
is equal to "Y"?
Answer:
It is possible to set a restriction on a class but with a
twist. You need to create the copy of same class and save it to different name.
I am recreating the scenario.
Group A1 will see "Corporate" class data without
any condition.
Steps:
- Copy the Corporte classs and paste under same hierarchy.
- Rename it as Corporate (A2).
- Create a condition object and set the properties like below.
- Then go to Tools>Manage Security>Manage Access Restriction.
- Create two new restriction (e.g Corporate Restriction, Corporate (A2) Restriction)
- Go to “Object” tab in both restriction and add like below
- In Corporate Restriction add “Corporate (A2)”
- In Corporate (A2) Restriction add “Corporate”
- Map to A1 and A2 group
- Save and Export the Universe
- Check by login as A1 group and A2 Group user
Now A1 Group can see only Corporate class and A2 Group will
see Corporate A2 class.
When they pull the object inside it the data is restricted
according to the condition.
No comments:
Post a Comment