targe
django-rules
targe | django-rules | |
---|---|---|
3 | 3 | |
9 | 1,771 | |
- | - | |
2.1 | 4.8 | |
about 1 year ago | about 1 month 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.
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.
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.
What are some alternatives?
sanic-security - An effective, simple, and async security library for the Sanic framework.
django-guardian - Per object permissions for Django
HeimGuard - 🛡 A simple library that allows you to easily manage permissions in your .NET projects.
oso - Oso is a batteries-included framework for building authorization in your application.
demo-python - Demo of using Cerbos with Python to check access to a holiday request system.
Carteblanche - Module to align code with thoughts of users and designers. Also magically handles navigation and permissions.
amyrose - A powerful, simple, and async authentication and authorization library for Sanic. [Moved to: https://github.com/sunset-developer/asyncauth]
pycasbin - An authorization library that supports access control models like ACL, RBAC, ABAC in Python
djangorestframework-api-key - 🔐 API key permissions for Django REST Framework
OPAL - Policy and data administration, distribution, and real-time updates on top of Policy Agents (OPA, Cedar, ...)