Friction

Feature request · Permissions & security · Blocks work

Support multiple roles per user and per query

1 source thread · first seen 2018-10

Summary

Users often hold several roles at once, but Hasura accepts only one role header, so queries cannot combine tables allowed under different roles.

Affects
apps where a user is both editor and author

Evidence

Excerpts are copied word for word from the source; follow the link to read it in full.

“In this case, hasura should support multi-roles in headers: `x-hasura-roles` instead of `x-hasura-role`”

Report this item