Skip to content

Commit f4e2352

Browse files
committed
Fixed the 'Request closing group' button incorrectly showing for group chairs. Fixes issue ietf-tools#2724.
- Legacy-Id: 16233
1 parent 0bc7af8 commit f4e2352

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/group/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ def construct_group_menu_context(request, group, selected, group_type, others):
234234
if group.features.customize_workflow and can_manage:
235235
actions.append((u"Customize workflow", urlreverse("ietf.group.views.customize_workflow", kwargs=kwargs)))
236236

237-
if group.state_id in ("active", "dormant") and not group.type_id in ["sdo", "rfcedtyp", "isoc", ] and can_manage:
237+
if group.state_id in ("active", "dormant") and not group.type_id in ["sdo", "rfcedtyp", "isoc", ] and can_manage_group_type(request.user, group):
238238
actions.append((u"Request closing group", urlreverse("ietf.group.views.conclude", kwargs=kwargs)))
239239

240240
d = {

0 commit comments

Comments
 (0)