Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

ACLs - OverwriteByAdmin = False - is not respected?

bartfrelian
Mega Contributor

Hey There Community!

 

 

I have a custom table in my scoped application where i have default ACLs created within the creation of the table, so i have a custom role of app_admin and app_user.

Long story short app_admin has permissions to DELETE the records in the table.

My goal is for nobody to be able to DELETE records from that table. Despite of what i try, disabling the ACLs or removing Admin Overwrite flag:

bartfrelian_0-1790255534164.png

when testing with System Administartor always show me the DELETE button.

What am i missing will regular system Admin always have a permission to delete any record in the system despite the ACL stating otherwise?

3 REPLIES 3

Ankur Bawiskar
Tera Patron

@bartfrelian 

did you try creating a Table.None DELETE ACL, uncheck Admin overrides and use script and set answer=false;

💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 10x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Vishal Jaswal
Tera Sage

Hello @bartfrelian 

seems like the delete acl is in scope here - add role nobody to this delete acl without modifying anything else. See this for reference: https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0712605 


Hope that helps!

Tanushree Maiti
Tera Patron

Hi @bartfrelian 

 

Can you open the delete ACL in another window and share the screen shot with ACL role , condition, ACL script  (if any)

 

Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti