Permissions documentation not up to date
https://docs.djangoproject.com/en/dev/topics/auth/#permissions says:
Permissions are set globally per type of object, not per specific object instance. For example, it's possible to say "Mary may change news stories," but it's not currently possible to say "Mary may change news stories, but only the ones she created herself" or "Mary may only change news stories that have a certain status, publication date or ID." The latter functionality is something Django developers are currently discussing.
However, the ModelAdmin class provides has_add_permission, has_change_permission and has_delete_permission methods.
Attachments
(1)
- ticket17131.diff
(1.1 KB
) - added by mateusgondim 12 years ago.
- I replaced the outdated text in auth.txt with a text talking about the possibility of permissions per specific object instance.
Download all attachments as:
.zip
Change History
(6)
Triage Stage: |
Unreviewed → Accepted
|
Type: |
Uncategorized → Bug
|
Owner: |
changed from nobody to mateusgondim
|
Resolution: |
→ fixed
|
Status: |
new → closed
|
I replaced the outdated text in auth.txt with a text talking about the possibility of permissions per specific object instance.