Fix so that Secretariat can also adopt documents when other people can

- Legacy-Id: 3873
This commit is contained in:
Ole Laursen 2012-01-30 17:20:12 +00:00
parent fd0b52df49
commit 1fc978e9fe

View file

@ -126,7 +126,7 @@ def can_adopt(user, draft):
person = get_person_for_user(user)
if not person:
return False
return is_wgchair(person) or is_wgdelegate(person)
return is_wgchair(person) or is_wgdelegate(person) or is_secretariat(user)
else:
return is_secretariat(user)