diff --git a/ietf/ietfauth/utils.py b/ietf/ietfauth/utils.py index 90c8eefe7..f79846999 100644 --- a/ietf/ietfauth/utils.py +++ b/ietf/ietfauth/utils.py @@ -152,6 +152,9 @@ def is_individual_draft_author(user, doc): if not doc.group.type_id == "individ" : return False + if not hasattr(user, 'person'): + return False + if user.person in doc.authors(): return True