{"action":"opened","issue":{"url":"https://api.github.com/repos/hasura/graphql-engine/issues/877","repository_url":"https://api.github.com/repos/hasura/graphql-engine","labels_url":"https://api.github.com/repos/hasura/graphql-engine/issues/877/labels{/name}","comments_url":"https://api.github.com/repos/hasura/graphql-engine/issues/877/comments","events_url":"https://api.github.com/repos/hasura/graphql-engine/issues/877/events","html_url":"https://github.com/hasura/graphql-engine/issues/877","id":374593179,"node_id":"MDU6SXNzdWUzNzQ1OTMxNzk=","number":877,"title":"Support `x-hasura-roles` in headers instead of `x-hasura-default-role`","user":{"login":"revskill10","id":1390196,"node_id":"MDQ6VXNlcjEzOTAxOTY=","avatar_url":"https://avatars3.githubusercontent.com/u/1390196?v=4","gravatar_id":"","url":"https://api.github.com/users/revskill10","html_url":"https://github.com/revskill10","followers_url":"https://api.github.com/users/revskill10/followers","following_url":"https://api.github.com/users/revskill10/following{/other_user}","gists_url":"https://api.github.com/users/revskill10/gists{/gist_id}","starred_url":"https://api.github.com/users/revskill10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/revskill10/subscriptions","organizations_url":"https://api.github.com/users/revskill10/orgs","repos_url":"https://api.github.com/users/revskill10/repos","events_url":"https://api.github.com/users/revskill10/events{/privacy}","received_events_url":"https://api.github.com/users/revskill10/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-27T01:37:19Z","updated_at":"2018-10-27T01:37:19Z","closed_at":null,"author_association":"NONE","body":"In an application, one user often have multi roles at the same time, at a screen.\r\nSo hasura should support sending multi roles in the headers instead of only chosen one role.\r\n\r\nElse how do you decide which role the user should use ? Because all roles are equal and valid.\r\n"}}
{"actor":{"display_login":"revskill10"}}