﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
12211	Admin inlines do not respect group permissions	julie.sparks@…	nobody	"I believe this may be similar to ticket #8060.

I have two models, Category and !SubCategory with !SubCategory having a foreignkey relationship to Category. !SubCategory is set up to be edited inline with Category in the Admin interface.  I have defined a Group named Supervisor which does not have permission to delete from either Category or !SubCategory.  When the Category is edited, the delete option is hidden for the Category, but the delete checkboxes for the !SubCategories are displayed and if checked, the !SubCategories are actually deleted when the category is saved (note, is_superuser is not selected). 

{{{
class SubCategoryInline(admin.TabularInline):
    model = models.SubCategory
    extra=5

class CategoryAdmin(admin.ModelAdmin):
    inlines = [SubCategoryInline]

admin.site.register(models.Category, CategoryAdmin) 
}}}"		closed	contrib.admin	1.1		duplicate			Unreviewed	0	0	0	0	0	0
