Re: View permission for models in the admin

2007-12-05 Thread James Bennett
On 12/5/07, Percy Rodriguez <[EMAIL PROTECTED]> wrote: > Say one of this users has permissions to add/modify/delete model A and > should only > have a read view on model B. Are you suggesting this user should login > into the admin > site for working with model A and login again somewhere else in

Re: View permission for models in the admin

2007-12-05 Thread Percy Rodriguez
On Dec 5, 12:26 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > You could try to adapt admin to do what you're asking, but I really think it > would be easier to write your own views. It's not so hard. Ok, I'll write my own views but where? Outside of the admin? Say one of this users has permi

Re: View permission for models in the admin

2007-12-05 Thread Karen Tracey
On 12/5/07, Percy Rodriguez <[EMAIL PROTECTED]> wrote: > > > On Dec 5, 11:42 am, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > > On 12/5/07, Percy Rodriguez <[EMAIL PROTECTED]> wrote: > > > and it doesn't include any view/read permissions. The Django admin site > > code assumes any User with "is_sta

Re: View permission for models in the admin

2007-12-05 Thread James Bennett
On 12/5/07, Percy Rodriguez <[EMAIL PROTECTED]> wrote: > I have a few users with is_staff = True and they can't see any models > they don't > have explicit permissions for. I even tried to access other models and > I get a > "Permission denied" error. Giving any permission -- add, change or delet

Re: View permission for models in the admin

2007-12-05 Thread Percy Rodriguez
On Dec 5, 11:42 am, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > On 12/5/07, Percy Rodriguez <[EMAIL PROTECTED]> wrote: > 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 permission

Re: View permission for models in the admin

2007-12-05 Thread Karen Tracey
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 pe

View permission for models in the admin

2007-12-05 Thread Percy Rodriguez
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". Any ideas on how could I implement that in the cleanest p