hasura / hasura/graphql-engine
Aggregate Query Permission [SQL SERVER]
- Dominant language
- TypeScript
- Stars
- 32.1k
- Forks
- 3k
- PR merge metrics
- PR metrics pending
Description
The [docs seem to indicate that there should be aggregate query permissions available](https://hasura.io/docs/latest/graphql/core/auth/authorization/permission-rules.html#aggregation-queries-permissions), however in `2.4.0-beta.1` there don't seem to be any. Currently it appears only admin level users are able to query aggregates.
Please add this capability or provide details on how to enable it directly in the yaml metadata as it's a really helpful feature for paging large tables to know what the count is.
Thanks!
This is from the docs:

This is what the console ui looks like for Sql Server currently:

Contributor guide
Research direction
Start with the linked aggregate-query permission documentation and the SQL Server console behavior shown in the issue, then inspect the YAML metadata path mentioned in the request. Done means non-admin SQL Server users can use aggregate queries, or the supported metadata configuration is documented clearly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- graphql
- Domain
- api, authorization, databases
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100