bodyguard
Simple authorization conventions for Phoenix apps (by schrockwell)
canada
Easy permission definitions in Elixir apps! (by jarednorman)
bodyguard | canada | |
---|---|---|
1 | 2 | |
754 | 449 | |
- | - | |
4.9 | 0.0 | |
7 months ago | over 3 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.
bodyguard
Posts with mentions or reviews of bodyguard.
We have used some of these posts to build our list of alternatives
and similar projects.
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 bodyguard and canada you can also consider the following projects:
canary
policy_wonk - Elixir authorization and resource loading in Plug form for Phoenix
authorize - Rule based authorization for Elixir
Phauxth - Not actively maintained - Authentication library for Phoenix, and other Plug-based, web applications
Pundit - Simple authorization helpers for Elixir stucts, like Ruby's Pundit
sheriff - Build simple and robust authorization systems with just Elixir and Plug
terminator - 🛡 Modern elixir ACL/ABAC library for managing granular user abilities and permissions
openmaize - No longer maintained - was an Authentication library for Plug-based applications in Elixir