﻿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
30226	Simplify authentication backend interface	Tobias Bengfort	nobody	"Currently, writing a new authentication backend requires quite some boilerplate e.g. `has_perm()` can be derived from `get_all_permissions()` which in turn can be derived from `get_user_permissions()` and `get_group_permissions()`. Additionally, `authenticate()` and `get_user()` should always return `None` for backends that only handle permissions.

Also note that `get_all_permissions()` and `get_group_permissions()` exist on the User model, but `get_user_permissions()` does not. I think this is confisuing for backend authors.

Mailinglist thread: https://groups.google.com/forum/#!topic/django-developers/CNmz22gEsCc
Pull request: https://github.com/django/django/pull/11037"	Cleanup/optimization	new	contrib.auth	2.1	Normal				Unreviewed	1	0	0	0	0	0
