django-rules
djangorestframework-api-key
Our great sponsors
django-rules | djangorestframework-api-key | |
---|---|---|
3 | 3 | |
1,766 | 649 | |
- | - | |
4.8 | 5.1 | |
26 days 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.
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.
djangorestframework-api-key
-
Securing endpoints to be consumed externally
I’ve used the DRF API Keys for this problem
- Should I use JWT as my API access key token?
-
Hi, what authentication system are you using for your DRF projects?
I started by using django simple jwt and then switch to our own proprietary JWT issuer, so we ended up using that for user tokens instead. For service / role accounts, we use https://github.com/florimondmanca/djangorestframework-api-key with a custom model & authentication framework - we dont use the permission middleware though
What are some alternatives?
django-guardian - Per object permissions for Django
asyncauth - A powerful, simple, and async security library for Sanic. [Moved to: https://github.com/sunset-developer/sanic-security]
oso - Oso is a batteries-included framework for building authorization in your application.
amyrose - A powerful, simple, and async authentication and authorization library for Sanic. [Moved to: https://github.com/sunset-developer/asyncauth]
Carteblanche - Module to align code with thoughts of users and designers. Also magically handles navigation and permissions.
sanic-security - An effective, simple, and async security library for the Sanic framework.
bepasty - universal pastebin server
Sanic JWT - Authentication, JWT, and permission scoping for Sanic
restframework-serializer-permissions - Drop in replacement for Django Restframework Serializers to add permission based field serialization.
bolt-python - A framework to build Slack apps using Python