From b52022e5d4f59b49d05faa3820299d16228c95ab Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Mon, 29 Jun 2015 17:06:47 +0200 Subject: [PATCH] config.py: add RBAC backends to authorized backends --- config.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/config.py b/config.py index 7311f44..4b7b4cd 100644 --- a/config.py +++ b/config.py @@ -129,7 +129,10 @@ LDAP_AUTH_SETTINGS = [ }, } ] -AUTHENTICATION_BACKENDS = ('authentic2.backends.ldap_backend.LDAPBackend',) +AUTHENTICATION_BACKENDS = ( + 'authentic2.backends.ldap_backend.LDAPBackend', + 'django_rbac.backends.DjangoRBACBackend', +) # bypass authentic2 warning: "DEFAULT_FROM_EMAIL must be customized" DEFAULT_FROM_EMAIL = 'root@localhost'