QA Notes (update):
The config bit should be added to local.cfg file and the server have to be restarted to this configuration being taken into account.
The team adding thing is easy on staging/production as teams exists in production db. Only thing required is quick session in python shell:
>>> from identityprovider.models import Person, Account >>> account = Account.objects.get_by_email("<email address hidden>") >>> team = Person.objects.get(name="canonical-isd-hackers") >>> team.team_paerticipations.create(person=account.person) >>> account.person.in_team("canonical-isd-hackers") True
QA Notes (update):
The config bit should be added to local.cfg file and the server have to be restarted to this configuration being taken into account.
The team adding thing is easy on staging/production as teams exists in production db. Only thing required is quick session in python shell:
>>> from identityprovide r.models import Person, Account objects. get_by_ email(" <email address hidden>") objects. get(name= "canonical- isd-hackers" ) paerticipations .create( person= account. person) person. in_team( "canonical- isd-hackers" )
>>> account = Account.
>>> team = Person.
>>> team.team_
>>> account.
True