h4cc / h4cc/awesome-elixir

Permit

Open
#4,909 0 comments 12 reactions 0 assignees View on GitHub
Dominant language
Elixir
Stars
13.2k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

Hey,

I'm the author of Permit - a uniform authorization library for Elixir codebases, allowing the developer to create a single source of truth for access permissions and plug it into Phoenix, LiveView, and Absinthe - potentially extensible to other frameworks. All of this can be backed by an Ecto DB, and queries to filter accessible records according to defined permissions are automatically built - and then used in Phoenix controllers and LiveView in the load-and-authorize pattern (known from Ruby's [cancancan](https://github.com/CanCanCommunity/cancancan) gem).

Packages:
https://github.com/curiosum-dev/permit
https://github.com/curiosum-dev/permit_ecto
https://github.com/curiosum-dev/permit_phoenix
https://github.com/curiosum-dev/permit_absinthe - not in Hex yet, but works as a PoC

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.