The django framework itself provides groups that can have users and permissions. This gives you the building blocks to implement RBAC.
Use rest_framework.permissions.DjangoModelPermissions in permission_classes and django.contrib.auth.backends.ModelBackend as authentication backend and you are good to go. Op donderdag 29 november 2018 15:56:54 UTC+1 schreef Foobar: > > Any suggestions on what I should use to integrate RBAC with DRF? I have > taken a look at django-rest-framework-roles and django-guardian but neither > look too promising. Your feedback would be much appreciated. Thanks in > advance. > -- You received this message because you are subscribed to the Google Groups "Django REST framework" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-rest-framework+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.