How to fetch access control roles of tables
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2023 11:12 PM
Hey Everyone, I want to fetch access control roles of tables using rest API. Does anyone know how can i get the roles of tables?
I only want to know the minimum read role of the table. I.E. incident have sn_incident_read role.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2023 10:44 PM - edited 10-16-2023 05:57 AM
@Hemanth M1 But it will fetch all the users who have access to the whole table and users who have access to only one or two records. But actually, I want only users who have access to the whole table. And if we forget the part of users can we fetch only roles that have read access to the table like "sn_incident_read"?
Can we add one more condition where we can discard the access control which have condition or script added.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2023 11:09 PM
Also, I am trying to convert the above code in Python so do you have any idea how I convert addEncodedQuery
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2023 12:09 AM
Also when i am trying to hit rest API to get a response of sys_security_acl_role I get the below response