Merged in [8611] from rjsparks@nostrum.com:\n Allow chairs to edit the notification field. Fixes bug #1517.

- Legacy-Id: 8620
Note: SVN reference [8611] has been migrated to Git commit 4ab6e03729
This commit is contained in:
Henrik Levkowetz 2014-11-09 01:58:29 +00:00
commit 52d4ae5617
2 changed files with 3 additions and 1 deletions

View file

@ -266,6 +266,7 @@ def document_main(request, name, rev=None):
can_edit_stream_info = is_authorized_in_doc_stream(request.user, doc)
can_edit_shepherd_writeup = can_edit_stream_info or user_is_person(request.user, doc.shepherd and doc.shepherd.person) or has_role(request.user, ["Area Director"])
can_edit_notify = can_edit_shepherd_writeup
can_edit_consensus = False
consensus = None
@ -355,6 +356,7 @@ def document_main(request, name, rev=None):
can_edit_stream_info=can_edit_stream_info,
is_shepherd = user_is_person(request.user, doc.shepherd and doc.shepherd.person),
can_edit_shepherd_writeup=can_edit_shepherd_writeup,
can_edit_notify=can_edit_notify,
can_edit_iana_state=can_edit_iana_state,
can_edit_consensus=can_edit_consensus,

View file

@ -220,7 +220,7 @@
<tr>
<td>Send notices to:</td>
<td>
<a {% if can_edit %}class="editlink" href="{% url "doc_change_notify" name=doc.name %}"{% endif %}>
<a {% if can_edit_notify %}class="editlink" href="{% url "doc_change_notify" name=doc.name %}"{% endif %}>
{{ doc.notify|default:"No addresses provided"}}
</a>
</td>