How to give read access only for all the table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2019 04:29 AM
Hi All,
I have to give read-only access to all the tables and write access for a few tables, please guide me on how to achieve this.
Example: if ServiceNow has 100 table means 90 tables read only 10 tables write access
but it should not use the 'admin' role
Thanks
Ramesh
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2019 04:34 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2019 04:36 AM
Hi Ramesh,
The simplest thing is to define a group where all members will have those rights. Create a role and assign it that group. You can probably figure out a script to do the membership assignment.
You also need to create a lot of ACLs so that you will have the ninety read only ACLs where anyone who has the role described above gets access. You need to also create read and write ACLs for the other ten with the same criteria.
Hope that helps.
:{)
:{)
Helpful and Correct tags are appreciated and help others to find information faster
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2019 04:39 AM
Hello,
As mentioned by Dirk, you can use the snc_read_only role if you intend to limit the write/update access for users that already have access to those tables.
Otherwise, if you're want to give read access to all tables for all user by default, you may need to create 2 read ACLs, one for "*" (all records on all tables) and one for "*.*" (all fields on all tables)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2019 06:23 AM