graphql-casl
CASL permission rules for GraphQL resolvers.
graphql-casl is a toolkit for defining CASL authorization
rules on GraphQL resolvers. The runtime is a graphql-middleware plugin for
declaring permission rules; a companion GraphQL Code Generator plugin emits
typed subject bindings from your schema, so your rules stay in sync with your
types.
Stack: TypeScript, graphql-middleware, CASL, GraphQL Codegen. An npm-workspaces
monorepo published as @vantreeseba/graphql-casl.
Full documentation lives in the project README: https://github.com/vantreeseba/graphql-casl