﻿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
31256	Inline widget permision is now based on it's foregin key.	John Lyu	nobody	"Use an old example:

in models.py
{{{
class Ticket(models.Model):
........

class Action(models.Model):

    ticket = models.ForeignKey(Ticket)
........
}}}

in admin.py:
{{{
class ActionInline(admin.TabularInline):
    model = Action
    extra=1
    max_num=3

class TicketAdmin(admin.ModelAdmin):

.........
        inlines = [
        ActionInline,
        ]
}}}

In version  2.1.15:
    If I set current user's permisson `edit_Action` but no `edit Ticket`, I will not be able to edit actions inlines in ""Change Ticket"" page.

Based on https://docs.djangoproject.com/en/3.0/releases/2.1.15/,  that bug fix is rude and confusing.

In fact, I can still change `Action` it self and  indirectly ""change"" the page of it's parent Ticket. We should stop trigger save method in this condition instead of disable the feature.


"	Uncategorized	closed	contrib.admin	2.1	Normal	wontfix	Inlines, permision		Unreviewed	0	0	0	0	0	0
