From 0d2e3cd32efaec41be093f4a8f8aeced969a43b3 Mon Sep 17 00:00:00 2001 From: "Peter E. Yee" Date: Sat, 15 Jul 2017 12:40:13 +0000 Subject: [PATCH] Allows ADs to manage meeting materials from the meeting/##/materials page. Fixes #2213. Commit ready for merge. - Legacy-Id: 13900 --- ietf/group/utils.py | 2 +- ietf/settings.py | 2 +- ietf/templates/meeting/materials.html | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/ietf/group/utils.py b/ietf/group/utils.py index 44619fffb..6ca78226e 100644 --- a/ietf/group/utils.py +++ b/ietf/group/utils.py @@ -121,7 +121,7 @@ def milestone_reviewer_for_group_type(group_type): return "Area Director" def can_manage_materials(user, group): - return has_role(user, 'Secretariat') or group.has_role(user, ("chair", "delegate", "secr", "matman")) + return has_role(user, 'Secretariat') or group.has_role(user, ("chair", "delegate", "secr", "matman", "ad")) def can_provide_status_update(user, group): if not group.type_id in ['wg','rg','ag','team']: diff --git a/ietf/settings.py b/ietf/settings.py index 65fd1252f..09096ca51 100644 --- a/ietf/settings.py +++ b/ietf/settings.py @@ -745,7 +745,7 @@ RSYNC_BINARY = '/usr/bin/rsync' # Account settings DAYS_TO_EXPIRE_REGISTRATION_LINK = 3 -HTPASSWD_COMMAND = "/usr/bin/htpasswd" +HTPASSWD_COMMAND = "/usr/sbin/htpasswd" HTPASSWD_FILE = "/www/htpasswd" # Generation of bibxml files for xml2rfc diff --git a/ietf/templates/meeting/materials.html b/ietf/templates/meeting/materials.html index 320063afc..62357cd46 100644 --- a/ietf/templates/meeting/materials.html +++ b/ietf/templates/meeting/materials.html @@ -46,7 +46,8 @@ Minutes Slides Drafts -   + + Editable {% else %} Group Agenda