ACL's
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-07-2024 04:54 AM
Hi,
How can we create write operation so that no one can write the particular table record?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-07-2024 04:58 AM
Hi @Vedavalli
No one is not right thing, ACL use to provide access to specific role for a specific operation.
If above is case, use UI policy and read only all fields.
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-07-2024 05:03 AM
Hi,
You can use roles to restrict the write Operation and in case if you want to use specific group you can use below script to restrict the operation.
if (gs.getUser().isMemberOf('SNOW-Admin Users')) {
answer = true;
} else {
answer = false;
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-07-2024 05:17 AM
Hi @Vedavalli ,
What is exact requirement ? why no one should be able to write or edit the table, could you please explain ? based on that may be we can suggest you solution.
Please mark this comment as Correct Answer/Helpful if it helped you.
Regards,
Swathi Sarang