set acl for multiple catalog items
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-20-2023 12:21 AM
Hi,
I have a acl which I need for multiple catalog items but I don't want to use the hardcoded sys_id in condition.I have created a property with comma seperated sys_id of catalog items. How do I use in my script to apply the acl for only these catalog items?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-20-2023 12:29 AM
Hello @Akki1
Why why why ?
WHY ARE YOU USING ACL FOR CATALOG ITEMS ???????
You can simply add user criteria with roles, groups, location or scripts.
This is should be much easier to achieve and also maintain.
You would be complicating the architecture of the platform by adding ACL for specific catalog items.
You can read more about it here - Apply user criteria to items and categories
Maintaining User Criteria is much more conveneient and simpler compared to maintaining system properties, & ACLs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-20-2023 01:06 AM
@SatyakiBose I'm creating acl on sc_req_item and I want only for specific catalog items whose sys_id i mention in the property.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-20-2023 01:08 AM
Can you please describe your business use case in details.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-20-2023 12:55 AM
here are 2 different things
1. If you want to do restrict configuring catalog items we already have OOB ACL's for that with roles catalog_admin, catalog_builder_editor ,catalog_manager, catalog_editer.
2. If you trying to restrict who can submit request using those items
create a User criteria and add same to list of items you want apply like below
for catalog items in related list there will Available for and not available for using that you can restrict who can see that particular cat item.
Bharath Chintala