From f4e2352eedf67d198fb9ca6805e86e66785467a7 Mon Sep 17 00:00:00 2001 From: Henrik Levkowetz Date: Wed, 5 Jun 2019 14:16:14 +0000 Subject: [PATCH] Fixed the 'Request closing group' button incorrectly showing for group chairs. Fixes issue #2724. - Legacy-Id: 16233 --- ietf/group/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ietf/group/utils.py b/ietf/group/utils.py index 2e5f82116..5c501435d 100644 --- a/ietf/group/utils.py +++ b/ietf/group/utils.py @@ -234,7 +234,7 @@ def construct_group_menu_context(request, group, selected, group_type, others): if group.features.customize_workflow and can_manage: actions.append((u"Customize workflow", urlreverse("ietf.group.views.customize_workflow", kwargs=kwargs))) - if group.state_id in ("active", "dormant") and not group.type_id in ["sdo", "rfcedtyp", "isoc", ] and can_manage: + if group.state_id in ("active", "dormant") and not group.type_id in ["sdo", "rfcedtyp", "isoc", ] and can_manage_group_type(request.user, group): actions.append((u"Request closing group", urlreverse("ietf.group.views.conclude", kwargs=kwargs))) d = {