← Back to team overview

ubuntu-bengali-manual team mailing list archive

[Bug 499539] Re: Should we use launchpad<->django team<->group mapping?

 

** Changed in: loco-directory
    Milestone: 0.1.2 => 0.2.1

-- 
Should we use launchpad<->django  team<->group mapping?
https://bugs.launchpad.net/bugs/499539
You received this bug notification because you are a member of Ubuntu
Bengali Manual, which is subscribed to loco-directory.

Status in LoCo Directory: Triaged

Bug description:
when a user login with launchpad openid, it's possible to map launchpad teams with django groups.

we could add this to settings.py:

OPENID_LAUNCHPAD_TEAMS_MAPPING = {
    'launchpad-team-1': 'django-group-1',
    'launchpad-team-2': 'django-group-2',
}


that would be cool for the loco-council group. then we have the possibility to check the rights for a logged in user for efficient.
but what to do with all loco-teams? if a new team will be added to launchpad, we have to add it to the settings file, too. that would be a stupid solution. 
any ideas?