Is it possible to check the access(ACLs) of a user by logging into ServiceNow but not impersonating in an ATF.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-11-2022 02:26 AM
I have a requirement to test the access of a user for few fields using ATFs, but we should not do through impersonate user, is there a way to do using ATF, like how we are manually logging in with that account and checking.
- Labels:
-
HR Service Delivery
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-11-2022 03:30 AM
Hi
May i know, why you don't want to use Impersonate step ? As this is what best practice says:
Following below Steps you can achieve the mentioned requirement.
- Impersonate a User which is having Access to that field.
- Open a form.
- Field state validation and validating the field is not read only.
- Impersonate User which dont having Access to that field.
- Open a form. (Same form as step 2)
- Field state validation and validating the field is now read only.
Mark my answer correct & Helpful, if Applicable.
Thanks,
Sandeep
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-13-2022 10:30 PM
There are few ACLs where we are doing impersonateCheck and restricting the access if user is in impersonate. As few fields have sensitive information.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-14-2022 12:54 AM
HI
You can add a role on which ACL is configured and then the rest of the steps will remain the same for testing. By doing this it will allow to impersonate and test.
Mark my answer correct & Helpful, if Applicable.
Thanks,
Sandeep