Independent submissions are IETF track drafts with group set to Individual

- Legacy-Id: 3844
This commit is contained in:
Ole Laursen 2012-01-20 18:39:44 +00:00
parent 05c664423c
commit 9d77c09f10

View file

@ -118,7 +118,7 @@ def can_edit_stream(user, draft):
return is_secretariat(user)
def can_adopt(user, draft):
if settings.USE_DB_REDESIGN_PROXY_CLASSES and draft.stream_id == "ise":
if settings.USE_DB_REDESIGN_PROXY_CLASSES and draft.stream_id == "ietf" and draft.group.type_id == "individ":
person = get_person_for_user(user)
if not person:
return False