Need Help Creating ACL on alm_hardware Table Based on "Managed By Group"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi Everyone,
I am trying to create an ACL on the alm_hardware table in ServiceNow. We have a custom field called u_managed_by_group on the hardware asset record.
The requirement is:
✅ Only users who are members of the group specified in the u_managed_by_group field should be allowed to edit that hardware record.
All other users should have read-only access/not allowed to update.
Could someone please guide me through the step-by-step process to build this ACL?
If any scripts need to be written (for conditions or scripts within the ACL), please share those script as well.
@Ankur Bawiskar @Amit Gujarathi @Ravi Gaurav
Thanks,
Sattar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @sattar3 ,
Elevate your role to Security Admin
Type: record
Operation: write
Name: alm_hardware
Active: true
Advanced: true
ACL script:
Note: You can use the Security Debugger to verify that this ACL is correctly returning true for members and false for non-members.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
@Ankur Bawiskar @Tanushree Maiti @Anupama Singh1 @Jaspal Singh thanks everyone.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Glad to help.
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @sattar3 , Please accept the solution and mark it correct and close the thread , it will help future community readers.😊
