How to restrict the RITM read access based on the catalog, for example human capital catalog items
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2023 09:41 AM
Dear community,
How to restrict the RITM read access based on the catalog, for example human capital catalog items shows only particular groups name starts with HC like.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2023 08:10 PM - edited 05-13-2023 08:10 PM
Hi,
Please refer to below thread:
(or)
You can try Business Rule with QUERY action:
So that we can add your custom query condition whenever people query the table
function executeRule(current, previous /*null when async*/) {
if(gs.getUserID().hasRole('admin')!=true && gs.getUserID().hasRole('epic1')!=true) {
current.addQuery('cat_item.name','!=','Apple iPad 3');
}
})(current, previous);
Please mark it as helpful (or) correct if it resolves your issue.
Thanks & Regards,
Sumanth Meda