﻿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
25142	Refactor dispatch method in PermissionRequiredMixin to allow customisation	Akis Kesoglou	Akis Kesoglou	"Extending from PermissionRequiredMixin to implement a mixin for checking for *object* permissions means that you can't call super in .dispatch because PermissionRequiredMixin will do another check for model-level permissions.

I propose to delegate the check for permissions in PermissionRequiredMixin.dispatch to an instance method. This way, we are able to provide a hook for code to check for object permissions without having to re-implement the whole class.

PR coming shortly."	Cleanup/optimization	new	contrib.auth	dev	Normal				Unreviewed	0	0	0	0	1	0
