How to allow full table access to non-admin user.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-27-2017 01:32 PM
Hi,
We are trying to pull request information via the REST table api.
We have created and ACL for the user/role with full access, but some of the fields are not being returned. For example the "Number" field is missing when the query is run by a non-admin. When the query is run by a admin user all the fields are returned. We need assistance in configuring the security/ACL for the sc_request table.
Thanks
Ralph
- Labels:
-
Integrations
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-27-2017 01:41 PM
Hello Ralph.
To be on the safe side, you can create read, write, create for the role of the respective user ( let us say one of the roles of the user is itil) for the following:
1. sc_request for * ( star)
2. sc_request for none
3. sc_request for number
I am exemplifying 3 of them.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-27-2017 01:42 PM
Hi,
I don't think there is any OOB ACL on number field, I would say please check if there is any custom ACL (or you can enable debugging and impersontate intergration user) to see which ACL is stopping.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-27-2017 01:47 PM
For example the "Number" field is missing when the query is run by a non-admin.
This would suggest there's a sc_request.number:read rule that blocks access to this user.
Check what read rules you have for that field, and add your custom role to the read rule (or create another) - you should be okay.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-27-2017 01:48 PM
Ralph,
Use the security debugger to assist with access to certain table elements. Without knowing all of the ACLs you have in place for all tables involved here it would be difficult for me to say off the top of my head.
Debugging ACLs Quick Steps
- Log In as Admin User
- In the nav bar type "Debug Security Rules"
- Choose System Security -> Debug Security Rules
- Impersonate the user you want to have access
- Navigate to the table in question (sc_request)
Note: Make sure you don't navigate there yourself first as the ACL evaluation is cached per session and will lead to head bashing later.
Hope this helps.