django-permissions Questions
1
Solved
When I create a user in Django, he has no permissions:
In [7]: u = User.objects.create(username='aoeu')
In [12]: u.user_permissions.all()
Out[12]: []
I want some permissions to be set by default...
Sarmatia asked 7/9, 2012 at 6:35
2
Is there any possibility to change permissions list in user edit page? I don't wan't to show all of permissions for example admin log entry or auth group etc.
How can I modify a main queryset to ex...
Synchronism asked 5/7, 2011 at 22:17
2
Solved
I'm working on a product that allows different schools to administer their content online.
Part of this involves setting up a role based access control logic which I've written myself. Essentiall...
Toscano asked 19/6, 2012 at 6:8
1
Solved
I've got a model defined in my Django app foo which looks like this:
class Bar(models.Model):
class Meta:
permissions = (
("view_bar", "Can view bars"),
)
I've run manage.py syncdb on this, ...
Butters asked 12/4, 2012 at 20:26
1
Solved
I've finally decided to make some tests for my apps but I'm stuck on testing if a user can change another user (depends on the type of the user -- I use django-rules to be able to do logical permis...
Esotropia asked 11/4, 2012 at 9:4
1
currently I am looking implementing access control in Django. I've read about the built-in permission, but it does not takes care per object basis. For example, I want permissions like "Only the cr...
Reggi asked 8/3, 2012 at 15:45
1
Solved
How do you ensure that a User can only edit objects they've created? What's the best way to set this up?
I'm using django-rest-framework and wondering if there's a way I can restrict users from vi...
Leporide asked 21/1, 2012 at 2:0
1
Solved
I understand the basic user stuff. I know authentication, login, creating accounts, etc. But now I want to work on groups and permissions.
Where is the documentation for django groups/permissions?...
Explore asked 24/1, 2011 at 4:36
1
Solved
Ultimately, my goal is to extend Django's ModelAdmin to provide field-level permissions—that is, given properties of the request object and values of the fields of the object being edited, I would ...
Signorino asked 2/8, 2010 at 13:15
1
Solved
I'd like to be able to give some existing Users a custom permission which I will require for accessing a view.
I think I need to add the new permission to the Postgres table auth_permission, but I ...
Otherworld asked 9/12, 2009 at 19:58
6
Solved
I've recently started using django to administer a large existing application that was grown organically over the years using twisted.web. I started experimenting with django and it's automatic adm...
Dosage asked 26/8, 2009 at 17:39
© 2022 - 2024 — McMap. All rights reserved.