Allows ADs to manage meeting materials from the meeting/##/materials page. Fixes #2213. Commit ready for merge.

- Legacy-Id: 13900
This commit is contained in:
Peter E. Yee 2017-07-15 12:40:13 +00:00
parent 263551d3b7
commit 0d2e3cd32e
3 changed files with 4 additions and 3 deletions

View file

@ -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']:

View file

@ -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

View file

@ -46,7 +46,8 @@
<th class="col-md-1">Minutes</th>
<th class="col-md-5">Slides</th>
<th class="col-md-2">Drafts</th>
<th class="col-md-2">&nbsp;</th>
<!-- <th class="col-md-2">&nbsp;</th> -->
<th class="col-md-2">Editable</th>
{% else %}
<th class="col-md-1">Group</th>
<th class="col-md-1">Agenda</th>