Skip to content

Commit 4737f05

Browse files
committed
Changed so that only WGs/RGs can be closed, per RJS. Fixes ietf-tools#1578. Commit ready for merge.
- Legacy-Id: 17483
1 parent 9de7c5c commit 4737f05

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

ietf/group/utils.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,8 @@ def construct_group_menu_context(request, group, selected, group_type, others):
247247
if group.features.customize_workflow and can_manage:
248248
actions.append(("Customize workflow", urlreverse("ietf.group.views.customize_workflow", kwargs=kwargs)))
249249

250-
if group.state_id in ("active", "dormant") and not group.type_id in ["sdo", "rfcedtyp", "isoc", ] and can_manage_group_type(request.user, group):
250+
#if group.state_id in ("active", "dormant") and not group.type_id in ["sdo", "rfcedtyp", "isoc", ] and can_manage_group_type(request.user, group):
251+
if group.state_id in ("active", "dormant") and group.type_id in ["wg", "rg", ] and can_manage_group_type(request.user, group):
251252
actions.append(("Request closing group", urlreverse("ietf.group.views.conclude", kwargs=kwargs)))
252253

253254
d = {

0 commit comments

Comments
 (0)