django-rules
targe
Our great sponsors
django-rules | targe | |
---|---|---|
3 | 3 | |
1,766 | 9 | |
- | - | |
4.8 | 2.1 | |
about 1 month ago | about 1 year ago | |
Python | Python | |
MIT License | MIT License |
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.
django-rules
-
Permissions (access control) in web apps
https://github.com/dfunckt/django-rules A generic, approachable open source framework for building rule-based systems in Django (Python).
-
Specific Object level permissions setup
imo the most feature rich and granular object level permissions can be implemented using django-rules. They work with django admin, drf, views, cbv and are pretty simple to set up and use.
-
Do you use Django permissions?
Check out the django-rules package.
targe
-
Targe - Authorisation library for python
Additionally you don't have to define policies for your user upfront you can generate policy dynamically in very simple manner as shown in the example above. More scenarios can be seen in this link: https://github.com/kodemore/targe/tree/main/examples
- Targe - My authorisation library (rbac and/or acl) for python.
What are some alternatives?
django-guardian - Per object permissions for Django
sanic-security - An effective, simple, and async security library for the Sanic framework.
oso - Oso is a batteries-included framework for building authorization in your application.
HeimGuard - 🛡 A simple library that allows you to easily manage permissions in your .NET projects.
Carteblanche - Module to align code with thoughts of users and designers. Also magically handles navigation and permissions.
demo-python - Demo of using Cerbos with Python to check access to a holiday request system.
amyrose - A powerful, simple, and async authentication and authorization library for Sanic. [Moved to: https://github.com/sunset-developer/asyncauth]
djangorestframework-api-key - 🔐 API key permissions for Django REST Framework
pycasbin - An authorization library that supports access control models like ACL, RBAC, ABAC in Python
OPAL - Policy and data administration, distribution, and real-time updates on top of Policy Agents (OPA, Cedar, ...)