On 12/5/07, Percy Rodriguez <[EMAIL PROTECTED]> wrote:
>
>
> Hi everyone,
>
> I'm quite new to Django but so far I'm making progress using and
> customizing the admin interface. Last nite I realized there is no view
> or read only permission on models, the closest thing I found was "Can
> change permission".


Right.  The admin site's use of permissions is described here:

http://www.djangoproject.com/documentation/authentication/#permissions

and it doesn't include any view/read permissions.  The Django admin site
code assumes any User with "is_staff" set to True can view/read everything.
It only uses permissions to limit the ability to add and change objects.

Any ideas on how could I implement that in the cleanest possible way?


This is not a way in which the admin site is meant to be
extended/customized.  The admin site is meant for trusted users.  If you're
looking to limit what certain users can see, I believe you should be
developing your own custom views for this, not trying to make the admin site
do it.

Karen

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to