Query_Range acl
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi,
I have a doubt about query_range ACLs in code. How can we determine whether we should check canRead() or query_range?
Suppose a table has both read and query_range ACLs. Now, in code, if we have something like:
var gr = new GlideRecord('table_name');
gr.addQuery('some_field', value);
gr.query();
How do we decide whether to check canRead() or query_range?
Also, is there anything in GlideRecord, like canRead(), that lets us check for query_range ACL specifically?
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @EshikaAgrawal
May this post helps you with you question
https://www.servicenow.com/community/developer-blog/query-acls/ba-p/3273676