Skip to content

Commit b100a4c

Browse files
committed
Don't try to check if anonymous users are chairs of the WG
- Legacy-Id: 4606
1 parent 92c12ca commit b100a4c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/wginfo/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ def wg_charter(request, acronym):
205205
context = get_wg_menu_context(wg, "charter")
206206
context.update(dict(
207207
actions=actions,
208-
is_chair=wg.role_set.filter(name="chair", person__user=request.user),
208+
is_chair=request.user.is_authenticated() and wg.role_set.filter(name="chair", person__user=request.user),
209209
milestones_in_review=wg.groupmilestone_set.filter(state="review"),
210210
requested_close=requested_close,
211211
))

0 commit comments

Comments
 (0)