graphql-engine/server/src-lib/Hasura
Jesse Hallett d6b8f29383 server: implement codecs for table permissions
This PR implements the remaining codecs for table permissions. However the codec for boolean expressions delegates to Aeson instances because Autodocodec doesn't currently have the necessary feature to write a codec for boolean expressions that will reliably parse valid data.

Boolean expressions are objects with keys like `_and`, `_or`, `_exists`, or `<field name>`. The parsing rules for each value depend on the key, so we need to be able to select different codecs for each key. We could do that with an `object` codec, but that doesn't account for the arbitrary field name keys that can be provided. OpenAPI supports object types with "additional properties", but I don't know if we can declare a specific type for those properties. There might or might not be a reasonable path to extending Autodocodec to handle this case.

Ticket: [GDC-585](https://hasurahq.atlassian.net/browse/GDC-585)

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6978
GitOrigin-RevId: 0b0dcfd59ebd1d5022ff2ab86dd8d4c6f93bd039
2022-11-30 19:33:16 +00:00
..
Backends server: provide an option to enable event triggers on logically replicated tables 2022-11-29 17:43:13 +00:00
Base Upgrade Ormolu to v0.5. 2022-11-02 20:55:13 +00:00
Cache server, pro: actually reformat the code-base using ormolu 2021-09-23 22:57:37 +00:00
Eventing server: rename event trigger metric hasura_event_processing_time_seconds to hasura_event_webhook_processing_time_seconds 2022-11-21 07:49:28 +00:00
GraphQL server: fix streaming subscription input type names 2022-11-30 06:48:58 +00:00
Incremental Further schema cache cleanups 2022-11-29 01:02:09 +00:00
Metadata pro-server: add support for exporting traces over OTLP 2022-11-07 06:56:08 +00:00
RemoteSchema Collect Metadata dependencies in a Sequence rather than a list 2022-11-30 18:13:31 +00:00
RQL server: implement codecs for table permissions 2022-11-30 19:33:16 +00:00
Server server: add another log line for metadata sync 2022-11-30 04:03:18 +00:00
SQL server: delete the Cacheable type class in favor of Eq 2022-11-21 16:35:37 +00:00
Tracing server: support 128-bit trace ids 2022-09-20 02:50:06 +00:00
App.hs Further schema cache cleanups 2022-11-29 01:02:09 +00:00
EncJSON.hs [server] Fix CockroachDB live queries 2022-11-02 11:41:02 +00:00
GC.hs Upgrade Ormolu to v0.5. 2022-11-02 20:55:13 +00:00
HTTP.hs Add Data Connector agent request logging, improve error messages, and add tracing support [GDW-83] 2022-07-11 08:05:40 +00:00
Incremental.hs Further schema cache cleanups 2022-11-29 01:02:09 +00:00
Logging.hs server: add jwk-refresh-log type to default enabled logs 2022-11-08 16:48:44 +00:00
Name.hs server/postgres: fix the schema types conflict between aggregation predicates and table selection aggregates 2022-10-21 13:28:43 +00:00
PingSources.hs [server] regularly ping selected sources 2022-11-23 16:41:46 +00:00
QueryTags.hs server: support query tags for MSSQL data sources 2022-04-28 19:34:45 +00:00
Session.hs server: delete the Cacheable type class in favor of Eq 2022-11-21 16:35:37 +00:00
ShutdownLatch.hs multitenant: make shutdown logic more abstract 2022-11-23 07:53:19 +00:00
Tracing.hs Upgrade Ormolu to v0.5. 2022-11-02 20:55:13 +00:00