Skip to content

Commit 482403d

Browse files
committed
Merged in [11058] from rjsparks@nostrum.com:
Allow WG/RG Chairs and secretaries to edit the replaces relationship for any document, not just the documents in their groups. Fixes ietf-tools#1939. - Legacy-Id: 11069 Note: SVN reference [11058] has been migrated to Git commit 051db85
2 parents dd2b49b + 051db85 commit 482403d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/doc/views_draft.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ def replaces(request, name):
314314
doc = get_object_or_404(Document, docalias__name=name)
315315
if doc.type_id != 'draft':
316316
raise Http404
317-
if not (has_role(request.user, ("Secretariat", "Area Director"))
317+
if not (has_role(request.user, ("Secretariat", "Area Director", "WG Chair", "RG Chair", "WG Secretary", "RG Secretary"))
318318
or is_authorized_in_doc_stream(request.user, doc)):
319319
return HttpResponseForbidden("You do not have the necessary permissions to view this page")
320320

0 commit comments

Comments
 (0)