Visiblity of the catalog items for all users
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2024 09:46 PM
Hi All,
I have a requirement where a particular catalog item needs to be visible to all users , We have also written this code in "available for" section .
But still users with the snc_internal aren't able to see the catalog item in the portal. How to achieve this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2024 10:30 PM - edited 04-30-2024 10:31 PM
Hi @phr,
As per the document, hasRole() will return false for users with only the snc_internal role.
Why not just leave Available for empty if you want to grant access to everyone?
Cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2024 11:33 PM
Hi @James Chun
We did check with "Availability for" keeping it empty but still users who have "snc_internal" are not able to view the catalog item.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2024 12:02 AM
Right, have you tried using the Any User User Criteria?
There should be one OOTB.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2024 12:10 AM