Respecting ACLs in GlideAggregate
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-22-2020 11:42 AM
I have a ServicePortal widget which calculates a set of filtered record counts using GlideAggregate.
Is there a way, like GlideRecordSecure to make the aggregate respect the ACL on the table and only count records which the logged in user can see? It seems crazy to have to replicate the same ACL logic in the aggregate query filter.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-22-2020 11:53 AM
Hi,
ACLs are executed based on the logged in user querying the table. So technically aggregate will respect the aCL that is already there and returns you the data.
is it not returning like that?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-22-2020 12:00 PM
Also check this link
Kindly mark the comment as a correct answer if this answers your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-22-2020 12:35 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-22-2020 12:34 PM