Skip to content

Commit b5df5c8

Browse files
committed
Merged in [7587] from rjsparks@nostrum.com:
Anyone with a role in a group could preapprove drafts. Changed that to an explicit subset of roles. Fixes ticket 998. - Legacy-Id: 7609 Note: SVN reference [7587] has been migrated to Git commit 5ba0a27
1 parent 5f0c22d commit b5df5c8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/submit/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ def add_preapproval(request):
406406
groups = Group.objects.filter(type="wg").exclude(state="conclude").order_by("acronym").distinct()
407407

408408
if not has_role(request.user, "Secretariat"):
409-
groups = groups.filter(role__person__user=request.user)
409+
groups = groups.filter(role__person__user=request.user,role__name__in=['ad','chair','delegate','secr'])
410410

411411
if request.method == "POST":
412412
form = PreapprovalForm(request.POST)

0 commit comments

Comments
 (0)