#9887: Testclient user have not enough permissions to create another users.
------------------------------------------------------+---------------------
Reporter: nuald <[email protected]> | Owner: nobody
Status: closed | Milestone:
Component: Testing framework | Version: 1.0
Resolution: wontfix | Keywords:
Stage: Unreviewed | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
------------------------------------------------------+---------------------
Changes (by ubernostrum):
* status: new => closed
* resolution: => wontfix
Comment:
Replying to [comment:3 nuald <[email protected]>]:
> - automated admin sites in Django is not flexible enough - we can't
allow user to modify only its own account without access to other
accounts;
You most certainly can set that up, by unregstering the default
`ModelAdmin` for the `User` class, then registering your own with an
overridden `has_change_permission` that implements your custom logic.
At any rate, this seems like a case where your specific needs will require
you to come up with specific workarounds rather than ask Django to work
around things for you.
--
Ticket URL: <http://code.djangoproject.com/ticket/9887#comment:4>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---