User Criteria for admins
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2023 02:47 AM
Hi Community,
I have two user criterias:
1. I want to show my catalog item to a specific group. (Its working fine) I have added this group in available for.
2. I want to hide my catalog item from admins. Its not working, i have added admins group in not available for. But its not hiding my catalog item from admins. I am aware about this System Property "glide.sc.entitlement.override" which allows Admins to see all the Catalog Items.
Is there any option for me, where i can hide my catalog item from the admins?
Thanks,
Poorva Bhawsar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2023 05:07 AM
I tried same what you told.
answer = gs.hasRole('admin');
Also i tried,
if(user.hasRole('admin'){
condition = false;
}