REST API account with read-only access to all tables
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-29-2017 01:55 AM
Hello,
We've been trying to use an SN account with rest api access to show information on our incidents/problems/etc within another application. However, when using this user, we only get empty search results, indicating that the user does not have the proper privileges assigned. How can we create a SN user that has read-only access to all tables?
Thanks,
Paul
- Labels:
-
Instance Configuration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-29-2017 09:13 AM
Hi Paul,
-Read only access is achieved in 2 ways:
---A global 'list-edit' access control to disable list editing for all tables
---A global client script to make all form fields read-only, disable form buttons, disable the context menu, and disable related links
-Faulty client scripts on a form can cause the above client script to fail, thus disabling read-only functionality.
- (In the below-mentioned script)The 'auditor' role piggy-backs on existing roles to provide visibility to records. It initially inherits the 'itil' role to provide standard process user visibility. Assign additional roles to the 'auditor' role in order to increase visibility.
-The 'admin' role overrides all created functionality.
*Creates all new entities within ServiceNow. No baseline tables or scripts are affected.
You can check the below script:
URL is ServiceNow Share
His script does the following:
Auditor is a new role in this instance that can be assigned to users to effectively provide read-only access to records in ServiceNow.
Cheers
Aditya telidevara
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-12-2018 04:54 PM
Any luck Paul?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-14-2018 11:48 PM
Hi Samuel due to personnel changes the project has been put on hold. Thanks for asking i let you know once we back on it.
Br
Paul