How does the "available for" of a "catalog item" work?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2024 05:29 AM
I see even the "available for" of the catalog item is empty, we still can access the catalog item. Why?
Also, where to view the backend code for the catalog item access restriction?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2024 05:50 AM - edited 09-27-2024 06:01 AM
Hi @Lisa71
The "Available for" is typically used to specify which users or groups can see the item, but if it's empty and no others are defined, it defaults to allowing all users to see it
To view the backend code for catalog item access restrictions, Go to the left navigator and type "user_criteria.list"
Please mark this response as Correct and Helpful if it helps you can mark more that one reply as accepted solution
Thanks
Eshwar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2024 12:23 AM
Thank you. Where is the code for restricting the permission? Is it via Business Rule or client script or ACL or what else? Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2024 08:37 PM
You cannot use BR or ACL to restrict access to catalog items in the portal; I believe we can only restrict access using user criteria instead.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2024 12:06 AM
I mean, the access restricting works via sc_cat_item_user_criteria_mtom, then what's the backend code for checking the sc_cat_item_user_criteria_mtom to decide whether a user can access the catalog item or not?