-
Committer:
Tarmac
-
Author(s):
Thomas Bechtold
-
Date:
2010-01-05 22:31:02 UTC
-
mfrom:
(56.1.1 django-openid-auth)
-
Revision ID:
elliot@elliotmurphy.com-20100105223102-lm45f8oywldoc1go
This branch add the possibility to automatic map available django-groups with launchpad teams.
There are 2 new variables for the django settings.py file. If no one of the new variables is set, nothing changes.
The 2 variables are:
OPENID_LAUNCHPAD_TEAMS_MAPPING_AUTO = True
OPENID_LAUNCHPAD_TEAMS_MAPPING_AUTO_BLACKLIST = []
If OPENID_LAUNCHPAD_TEAMS_MAPPING_AUTO is True, the variable OPENID_LAUNCHPAD_TEAMS_MAPPING has no more function. all django groups will be automaticly mapped to launchpad teams. with the variable OPENID_LAUNCHPAD_TEAMS_MAPPING_AUTO_BLACKLIST it possible to add a list with django groups which should not be mapped.