Hi,

I've just tried to use the permission_required decorator for my views
and I realise that there is a missing 'retrieve' permission. It's a
bit odd because others ones follow the CRUD permissions.

Am I missing something here?

The patch is trivial:
Add 'retrieve' to the auth.management._get_all_permissions function,
but I don't want to hack my django code so I wonder why this choice
had been done? (I suspect the admin goal which is driven by the
User.is_staff field but auth can be used elsewhere).

David

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" 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-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to