Top "Django-permissions" questions

django-permissions is a pluggable django app that provides per-object permissions for Django based on roles

django custom user model password is not being hashed

I have my own custom User model, and its own Manger too. models: class MyUser(AbstractBaseUser, PermissionsMixin): email = models.EmailField(…

django hash django-admin django-users django-permissions
How to add custom permission to the User model in django?

in django by default when syncdb is run with django.contrib.auth installed, it creates default permissions on each model... …

python django django-permissions
row level permissions in django

Is there a way to do row level permissions in django? I thought there wasn't but just noticed this in …

django django-models django-permissions
How to add django rest framework permissions on specific method only ?

I have following functions in rest API for User model. I want to set AllowAny permission on only POST request. …

django django-rest-framework django-permissions
Django user get_all_permissions() is empty while user_permissions is set

I added some permissions to a user via the admin interface. From some reason all the perm functions fail, e.…

django django-admin django-authentication django-permissions
Django: Applying permissions in the URL dispatcher?

In my Django application, I have certain permissions which users need in order to access certain views (using django.contrib.…

django django-urls django-permissions
django-object-permissions Vs django-guardian Vs django-authority

I've found 3 row-level permission solutions for Django 1.2+ django-object-permissions django-guardian django-authority Could someone tell if there is any recommended more than …

django django-authentication django-apps django-permissions
User permissions for Django module

I'm having a small issue with my permissions in my Django template. I'm trying to, based on permissions, show an …

python django django-templates django-views django-permissions
You do not have permission to perform this action when accessing api in django

i am trying to add custom permissions in my Django app using Django rest framework. i created an API n …

django django-rest-framework django-permissions
Django rest framework group based permissions for individual views

I am using DRF for writing API's. I would like to give different permissions for each view in my Modelviewsets. …

django permissions django-rest-framework django-permissions role-based-access-control