Skip to content

Commit b97d45f

Browse files
committed
Call can_manage_group_type() with the right information. Fixes an issue with chartering buttons not being visible for ADs.
- Legacy-Id: 13778
1 parent c5b52ae commit b97d45f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/group/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ def chartering_groups(request):
376376

377377
for t in group_types:
378378
t.chartering_groups = Group.objects.filter(type=t, charter__states__in=charter_states).select_related("state", "charter").order_by("acronym")
379-
t.can_manage = can_manage_group_type(request.user, None, t)
379+
t.can_manage = can_manage_group_type(request.user, None, t.slug)
380380

381381
for g in t.chartering_groups:
382382
g.chartering_type = get_chartering_type(g.charter)

0 commit comments

Comments
 (0)