﻿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	Add base authentication backend to ease custom backend creation.	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 confusing for backend authors.

Mailinglist thread: https://groups.google.com/forum/#!topic/django-developers/CNmz22gEsCc
Pull request: https://github.com/django/django/pull/11037"	New feature	new	contrib.auth	master	Normal				Accepted	1	0	0	0	0	0
