yes i would use it too, because i've got a lot of models with a view
permission to the final user but with no change permission.

it could be archived with backward compatibility, because by default a
user has got no view permission
view permission can be added with a syncdb, and user must add them
from the admin panel

don't see backward issue, it would be a nice feature.

On 16 Nov, 19:47, Bradley Ayers <bradley.ay...@gmail.com> wrote:
> I would benefit from this. With administration systems I build with Django I 
> generally have to add my own 'view_foo' permission to each model. +1
>
> On 17/11/2011, at 2:47 AM, Ric wrote:
>
>
>
>
>
>
>
> > i've been thinking about a new django admin feature, that could be
> > backward implemented
>
> > it's about adding a view permission for models
>
> > so we can have
>
> > 1.change_permission
> > 2.delete_permission
> > 3.add_permission
> > and
> > 4.view_permission
>
> > in the changelist_view view_permission allow user to see the
> > changelist, but user still need a change_permission to use the
> > list_editable.
> > in the change_view, having a view_permission allow to see the object,
> > but the method get_read_only_fields returns all the fields.
>
> > in every case a POST request raise a PermissionDenied if the user do
> > not have a change_permission, but allows GET request if user got a
> > view_permission
>
> > view_permission could be added on the next syncdb...
>
> > --
> > You received this message because you are subscribed to the Google Groups 
> > "Django developers" group.
> > To post to this group, send email to django-developers@googlegroups.com.
> > To unsubscribe from this group, send email to 
> > django-developers+unsubscr...@googlegroups.com.
> > For more options, visit this group 
> > athttp://groups.google.com/group/django-developers?hl=en.

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

Reply via email to