Our requirement is to restrict case search functionality to certain users. There are 2 set of users, lets say - ABC, DEF. When ABC user logs in he should be able to perform case search on ABC cases and when DEF user log in in he should be able to perform case search on DEF cases.
If ABC user login and perform case search - only ABC cases must be opened and DEF cases should not be shown/opened and vice versa. Both these cases are of same case type but differentiated by using a flag.
Please help us in achieving this requirement.
***Updated by moderator: Lochan to update platform capability***
We have implemented as below in pega 7.1.9 and 7.2 . I think from pega 7.2.2 some can be control through ABAC. In our requirement cases will be assoicated to country and one country related case should not work/Search by other country users.
1. Added country attribute in operator level and when operator logins we have loaded the attributes in operator page(Using ApplicationProfileSetup activity).
2. Added country attribute in case level.
3. Created access when rule and using function we have compared the attributes in operator and case level. If attributes matches then we are allowing the user to access case.
4. We have also update pySearchWorkParams activity and added our attributes from operator profile to search paramas.