Top "Django-permissions" questions

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

Add a custom permission to a User

I'd like to be able to give some existing Users a custom permission which I will require for accessing a …

django django-permissions
How do I use Django groups and permissions?

I understand the basic user stuff. I know authentication, login, creating accounts, etc. But now I want to work on …

python django django-permissions
User groups and permissions

I need to implement user rights for user groups (pretty similar to facebook groups). For example, each group can have …

python django django-models django-permissions usergroups
Adding new custom permissions in Django

I am using custom permissions in my Django models like this: class T21Turma(models.Model): class Meta: permissions = (("can_…

django django-south django-permissions
Django - user permissions to certain views?

From the admin I see that you can allocate permissions to a user or a user group to :allow add, …

python django django-authentication django-permissions django-login
Django REST Framework viewset per-action permissions

Is there a best practice to assign a different permission to each action of a given APIView or ViewSet? Let's …

python django django-rest-framework django-permissions
How to check (in template) if user belongs to a group

How to check in template whether user belongs to some group? It is possible in a view which is generating …

python django django-admin django-permissions
How can I use Django permissions without defining a content type or model?

I'd like to use a permissions based system to restrict certain actions within my Django application. These actions need not …

django django-permissions
How to check current user's permissions from a Group in Django?

I have a group EuropartsBuyer and model named Product. The following code adds a permission to the Product model. class …

django permissions django-users django-permissions
How can I MODIFY django to create "view" permission?

I've recently started using django to administer a large existing application that was grown organically over the years using twisted.…

django django-admin django-permissions