Skip to content

Commit bd205ae

Browse files
committed
Merged in [14849] from ben@nostrum.com:
Give ADs the red Clear Ballot button - Legacy-Id: 14904 Note: SVN reference [14849] has been migrated to Git commit 7bf0207
2 parents 4632647 + 7bf0207 commit bd205ae

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

ietf/doc/views_ballot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ def send_ballot_comment(request, name, ballot_id):
369369
cc_select_form = cc_select_form,
370370
))
371371

372-
@role_required('Secretariat')
372+
@role_required('Area Director','Secretariat')
373373
def clear_ballot(request, name):
374374
"""Clear all positions and discusses on every open ballot for a document."""
375375
doc = get_object_or_404(Document, name=name)

ietf/templates/doc/document_ballot_content.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ <h4><span class="label label-{{ n|pos_to_label }}"> {{ n.name }}</span></h4>
6666
{% endif %}
6767
{% endif %}
6868

69-
{% if user|has_role:"Secretariat" %}
69+
{% if user|has_role:"Area Director,Secretariat" %}
7070
<a class="btn btn-danger" href="{% url 'ietf.doc.views_ballot.clear_ballot' name=doc.name %}">Clear ballot</a>
7171
{% endif %}
7272
{% endif %}

0 commit comments

Comments
 (0)