Add special group for ISE for use with streams

- Legacy-Id: 3683
This commit is contained in:
Ole Laursen 2011-11-22 18:51:53 +00:00
parent fb083da243
commit 9bfd3687d6
2 changed files with 9 additions and 5 deletions

View file

@ -77,6 +77,13 @@ secretariat_group.state = state_names["active"]
secretariat_group.type = type_names["ietf"]
secretariat_group.save()
# create ISE for use with streams
ise_group, _ = Group.objects.get_or_create(acronym="ise")
ise_group.name = "Independent Submission Editor"
ise_group.state = state_names["active"]
ise_group.type = type_names["ietf"]
ise_group.save()
# create RSOC for use with roles
rsoc_group, _ = Group.objects.get_or_create(acronym="rsoc")
rsoc_group.name = "RFC Series Oversight Committee"
@ -84,7 +91,7 @@ rsoc_group.state = state_names["active"]
rsoc_group.type = type_names["ietf"]
rsoc_group.save()
# create IAB for use with liaison statements
# create IAB for use with liaison statements and streams
iab_group, _ = Group.objects.get_or_create(acronym="iab")
iab_group.name = "Internet Architecture Board"
iab_group.state = state_names["active"]

View file

@ -102,10 +102,7 @@ for o in OldRole.objects.all().order_by('pk'):
if o.id == OldRole.RSOC_CHAIR:
official_email, _ = Email.objects.get_or_create(address="rsoc-chair@iab.org")
if o.role_name == "ISE":
group = Group.objects.get(type="individ")
else:
group = Group.objects.get(acronym=acronym)
group = Group.objects.get(acronym=acronym)
Role.objects.get_or_create(name=role, group=group, person=email.person, email=official_email)