On 27 October 2010 08:15, Simon Litchfield <si...@slicmedia.com> wrote:

> The ModelAdmin's permission hooks are great- has_add_permission,
> has_change_permission, and has_delete_permission.
>
> It would be nice if they were supported by inlines in the same way; ie
> InlineModelAdmin, StackedInline, TabularInline, GenericStackedInline,
> GenericTabularInline.
>
> UI is fairly obvious; has_add would result in no add form; has_delete
> in no delete tick box; and for has_change, showing as readonly_fields
> would probably be easiest.
>
> Any thoughts?
>
>
This should be considered together with the question of whether the user's
general permissions should apply to inlines [1], which is in DDN at present.

[1] http://code.djangoproject.com/ticket/8060

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-develop...@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