Skip to content

Commit ff187d2

Browse files
committed
Give logins with group IANA access to comment form for drafts, so they don't have to use the old datatracker for that.
- Legacy-Id: 3664
1 parent 19264aa commit ff187d2

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

ietf/idrfc/views_edit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ def resurrect(request, name):
387387
class AddCommentForm(forms.Form):
388388
comment = forms.CharField(required=True, widget=forms.Textarea)
389389

390-
@group_required('Area_Director','Secretariat')
390+
@group_required('Area_Director','Secretariat', 'IANA')
391391
def add_comment(request, name):
392392
"""Add comment to Internet Draft."""
393393
doc = get_object_or_404(InternetDraft, filename=name)

ietf/templates/idrfc/doc_tab_history.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{% extends "idrfc/doc_main.html" %}
2+
<!--
23
{% comment %}
34
Copyright (C) 2009-2010 Nokia Corporation and/or its subsidiary(-ies).
45
All rights reserved. Contact: Pasi Eronen <pasi.eronen@nokia.com>
@@ -32,6 +33,7 @@
3233
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
3334
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3435
{% endcomment %}
36+
-->
3537

3638
{% load ietf_filters %}
3739

@@ -40,7 +42,7 @@
4042
{% include "idrfc/doc_diffs.html" %}
4143
{% endif %}
4244
<h2 style="margin-top:1em;">Document history</h2>
43-
{% if user|in_group:"Area_Director,Secretariat" and doc.in_ietf_process %}
45+
{% if user|in_group:"Area_Director,Secretariat,IANA" and doc.in_ietf_process %}
4446
<div style="margin-bottom:8px" id="history_actions">
4547
<span id="doc_add_comment_button" class="yui-button yui-link-button" style="margin-left:2px;"><span class="first-child"><a href="{% url doc_add_comment name=doc.draft_name %}">Add comment</a></span></span>
4648
</div>

0 commit comments

Comments
 (0)