graphql-engine/server/tests-py/queries/actions/sync
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
..
remote_joins [server] coalesce multiple run_sql calls in tests (#270) 2021-01-06 16:07:22 +00:00
create_user_fail.yaml allow custom mutations through actions (#3042) 2020-02-13 23:08:23 +05:30
create_user_success.yaml auto-include __typename field in custom types' objects (fix #4063) (#4074) 2020-03-11 17:09:00 +05:30
create_users_fail.yaml auto-include __typename field in custom types' objects (fix #4063) (#4074) 2020-03-11 17:09:00 +05:30
create_users_success.yaml auto-include __typename field in custom types' objects (fix #4063) (#4074) 2020-03-11 17:09:00 +05:30
expecting_array_response.yaml improve debug information in actions errors response (close #4031) (#4432) 2020-04-24 13:25:51 +05:30
expecting_object_response.yaml improve debug information in actions errors response (close #4031) (#4432) 2020-04-24 13:25:51 +05:30
get_user_by_email_fail.yaml server(actions): add support for queries (close #4032) (#4309) 2020-04-16 12:55:19 +05:30
get_user_by_email_success.yaml fix intermittent errors occur when query actions used with variables (#4527) 2020-04-24 11:39:00 +05:30
get_users_by_email_success.yaml server(actions): add support for queries (close #4032) (#4309) 2020-04-16 12:55:19 +05:30
invalid_webhook_response.yaml improve debug information in actions errors response (close #4031) (#4432) 2020-04-24 13:25:51 +05:30
mirror_action_no_field.yaml improve debug information in actions errors response (close #4031) (#4432) 2020-04-24 13:25:51 +05:30
mirror_action_not_null.yaml improve debug information in actions errors response (close #4031) (#4432) 2020-04-24 13:25:51 +05:30
mirror_action_success.yaml few actions' fixes and improvements (fix #3977, #4061 & close #4021) (#4109) 2020-03-20 12:16:45 +05:30
mirror_action_unexpected_field.yaml improve debug information in actions errors response (close #4031) (#4432) 2020-04-24 13:25:51 +05:30
query_action_relationship_with_permission.yaml Server: fix query actions issue used with relationship and configured with permissions 2021-01-12 12:04:21 +00:00
schema_setup.yaml Server: fix query actions issue used with relationship and configured with permissions 2021-01-12 12:04:21 +00:00
schema_teardown.yaml server(actions): add support for queries (close #4032) (#4309) 2020-04-16 12:55:19 +05:30
values_teardown.yaml allow custom mutations through actions (#3042) 2020-02-13 23:08:23 +05:30