Django permissions framework vs DRF permissions

24 views
Skip to first unread message

Rounak Jain

unread,
May 18, 2019, 5:13:45 AM5/18/19
to Django users
Newbie here. I want to create hierarchical permissions in Django, very similar to one described here: https://stackoverflow.com/questions/49300215/django-hierarchy-permissions

I have read about Django permissions framework and https://github.com/vintasoftware/django-role-permissions

I don't understand where DRF permissions fit it? Should DRF permissions be used in addition to or instead of Django permissions?

Thanks

Aldian Fazrihady

unread,
May 18, 2019, 10:27:22 AM5/18/19
to django...@googlegroups.com
Hi, based on my experience,  I can create DRF permission based on HTTP methods. 

Django permissions by default are tightly related to ORM models. 
DRF permission can be totally unrelated to ORM models. 

Regards, 

Aldian Fazrihady


--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/b1e37c07-e223-4244-bb4a-09e3cd0f7737%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages