﻿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
13466	Replacing Authentication Backend will remove User permission checking	mhenwood	nobody	"Hi chaps.  What's not clear in this documentation regarding changing authentication backends is that the new backends one writes are responsible for permissions handling as well (as per the source code for the 'django.conrib.auth.models.User.get_all_permissions()' method.

However, no biggie: In whatever backend file your code resides, include this import:

{{{
 from django.contrib.auth.backends import ModelBackend
}}}


Then make sure the Backend you wrote *extends* ModelBackend, e.g.:
    
{{{
class EmailBackend(ModelBackend):
}}}


Should be fine.

I *love* Django by the way, a fantastic dev environment"		closed	Documentation	1.0		duplicate	backend permissions		Accepted	0	0	0	0	0	0
