Skip to content

Commit 0d2e3cd

Browse files
committed
Allows ADs to manage meeting materials from the meeting/##/materials page. Fixes ietf-tools#2213. Commit ready for merge.
- Legacy-Id: 13900
1 parent 263551d commit 0d2e3cd

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

ietf/group/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def milestone_reviewer_for_group_type(group_type):
121121
return "Area Director"
122122

123123
def can_manage_materials(user, group):
124-
return has_role(user, 'Secretariat') or group.has_role(user, ("chair", "delegate", "secr", "matman"))
124+
return has_role(user, 'Secretariat') or group.has_role(user, ("chair", "delegate", "secr", "matman", "ad"))
125125

126126
def can_provide_status_update(user, group):
127127
if not group.type_id in ['wg','rg','ag','team']:

ietf/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -745,7 +745,7 @@ def skip_unreadable_post(record):
745745

746746
# Account settings
747747
DAYS_TO_EXPIRE_REGISTRATION_LINK = 3
748-
HTPASSWD_COMMAND = "/usr/bin/htpasswd"
748+
HTPASSWD_COMMAND = "/usr/sbin/htpasswd"
749749
HTPASSWD_FILE = "/www/htpasswd"
750750

751751
# Generation of bibxml files for xml2rfc

ietf/templates/meeting/materials.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ <h2 class="anchor-target" id="plenaries">Plenaries</h2>
4646
<th class="col-md-1">Minutes</th>
4747
<th class="col-md-5">Slides</th>
4848
<th class="col-md-2">Drafts</th>
49-
<th class="col-md-2">&nbsp;</th>
49+
<!-- <th class="col-md-2">&nbsp;</th> -->
50+
<th class="col-md-2">Editable</th>
5051
{% else %}
5152
<th class="col-md-1">Group</th>
5253
<th class="col-md-1">Agenda</th>

0 commit comments

Comments
 (0)