- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
My assumption is yes, but, would like concrete clarification.
I create a user, and assign it roles to a table in which the ACL's do not allow impersonation sessions to CRUD those records.
I impersonate that user, and try to create a record.
Test fails -> Can't find field values on that table.
In this case - outside of editing the ACL, is there a work around?
Thanks,
Colin
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Yes — ATF impersonation does not bypass ACLs. The impersonated session is still subject to the target user’s access rules, and if that user cannot read/create the record or fields, your test will fail for the same reason a real user would fail
💡 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
Yes — ATF impersonation does not bypass ACLs. The impersonated session is still subject to the target user’s access rules, and if that user cannot read/create the record or fields, your test will fail for the same reason a real user would fail
💡 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