sheriff
Build simple and robust authorization systems with just Elixir and Plug (by beam-community)
canada
Easy permission definitions in Elixir apps! (by jarednorman)
sheriff | canada | |
---|---|---|
- | 2 | |
42 | 452 | |
- | 0.7% | |
0.0 | 0.0 | |
about 3 years ago | almost 4 years ago | |
Elixir | Elixir | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
sheriff
Posts with mentions or reviews of sheriff.
We have used some of these posts to build our list of alternatives
and similar projects.
We haven't tracked posts mentioning sheriff yet.
Tracking mentions began in Dec 2020.
canada
Posts with mentions or reviews of canada.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-11-16.
-
Authorization and Policy Scopes for Phoenix Apps
While it is definitely possible to roll out something by hand, it usually makes sense not to reinvent the wheel if well-maintained and tested libraries are available. Canada and Bodyguard are two of the more popular ones that I have seen in the community.
-
10 Years(-Ish) of Elixir
There are packages on Hex that haven't been updated in a long time but still work perfectly (Canada, for example: https://github.com/jarednorman/canada). Elixir itself doesn't change much... in fact there's no plans for a 2.0 on the horizon, so the fact that packages don't change often isn't a big deal if they still do what they say they do and aren't hurting for more features.
What are some alternatives?
When comparing sheriff and canada you can also consider the following projects:
bodyguard - Simple authorization conventions for Phoenix apps
openmaize - No longer maintained - was an Authentication library for Plug-based applications in Elixir
canary
authorize - Rule based authorization for Elixir
terminator - 🛡 Modern elixir ACL/ABAC library for managing granular user abilities and permissions
policy_wonk - Elixir authorization and resource loading in Plug form for Phoenix
Phauxth - Not actively maintained - Authentication library for Phoenix, and other Plug-based, web applications
Paddle - A library simplifying LDAP usage in Elixir projects
ex_venture - Text based MMORPG engine written in Elixir