graphql-engine/server/src-lib/Hasura/GraphQL
Karthikeyan Chinnakonda f967a4b22e Server: fix query actions issue used with relationship and configured with permissions
Fixes https://github.com/hasura/graphql-engine/issues/6385

In the v1.3.4-beta.2 version, the SQL generated for a query action containing relationship and configured with permissions parsed the `x-hasura-user-id` session variable value through the `hasura.user` postgres setting instead of passing the session variables as an JSON object to the query as it was in v1.3.3.

This PR fixes the SQL generation to that of v1.3.3

Co-authored-by: Rakesh Emmadi <12475069+rakeshkky@users.noreply.github.com>
GitOrigin-RevId: 838ba812f89b51df7fcead81b9d3c2885dfa39b4
2021-01-12 12:04:21 +00:00
..
Execute Server: fix query actions issue used with relationship and configured with permissions 2021-01-12 12:04:21 +00:00
Parser server: support separate metadata database and server code setup for multi sources (#197) 2020-12-28 12:56:55 +00:00
Schema Server: fix issue of not being able to track tables with non-compliant GraphQL names (#313) 2021-01-12 08:13:58 +00:00
Transport server: support separate metadata database and server code setup for multi sources (#197) 2020-12-28 12:56:55 +00:00
Context.hs server: support separate metadata database and server code setup for multi sources (#197) 2020-12-28 12:56:55 +00:00
Execute.hs server: support separate metadata database and server code setup for multi sources (#197) 2020-12-28 12:56:55 +00:00
Explain.hs server: support separate metadata database and server code setup for multi sources (#197) 2020-12-28 12:56:55 +00:00
Logging.hs server: expand metadata storage class with async actions and core metadata operations (#184) 2020-12-14 04:31:20 +00:00
Parser.hs server: schema that grows (#105) 2020-12-01 15:51:13 +00:00
RemoteServer.hs Merge pull request #113 from hasura/karthikeyan/remote-schema-permissions 2020-12-21 09:12:35 +00:00
Schema.hs Server: fix issue of not being able to track tables with non-compliant GraphQL names (#313) 2021-01-12 08:13:58 +00:00
Utils.hs server: make more use of hlint (#6059) 2020-10-28 16:40:33 +00:00