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 04:48 AM
Hello Paul,
I believe that this user should have "Web service access only" checkbox markes as true on sys_user table record. Also he need to have a proper role for example - "rest".
You can also check this, if you will still have issues: REST API table access
Regards,
Marcel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-29-2017 05:35 AM
Hi Marcel,
Thanks for taking the trouble to help out i try it and let you know.
Regards,
Paul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-29-2017 08:01 AM
How can we create a SN user that has read-only access to all tables?
Adding a read-only ACL that works against *.*
- however, I'd severely caution against this. You don't need read-only access to ALL tables, you really only need read-only access to specific tables.
Granting blanket accessibility like this not only violates the Principle of Least Security, but could also put you in contravention to your organisational confidentiality policies.
Good security takes some time to define the correct model, but it's well worth it. Take short-cuts at your peril!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-29-2017 09:13 AM