hasura / hasura/graphql-engine

Better entitlement framework in V3

Open
#10,253 1 comment 1 reaction 1 assignee Claimed by @abhinav-hasura View on GitHub
a/authz c/v3-engine v3
Dominant language
TypeScript
Stars
32.1k
Forks
3k
PR merge metrics
PR metrics pending

Description

Currently, Hasura uses role based access control, where you define the entire set of permissions per-role. However, this doesn't scale well because:

It's not always possible to capture all possible states in the authorization system as separate roles.
It's not possible to reuse permissions (allowed fields, model predicate) across roles.
For complicated permissions, it's hard to verify the correctness of a model's permissions predicate at a glance.

RFC on the proposal can be followed here https://github.com/hasura/graphql-engine/pull/10237

V2 Issues that can be addressed by this proposal:
- #3685
- #1919
- #3544

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.