Don't try to check if anonymous users are chairs of the WG
- Legacy-Id: 4606
This commit is contained in:
parent
92c12cae80
commit
b100a4ca26
|
@ -205,7 +205,7 @@ def wg_charter(request, acronym):
|
|||
context = get_wg_menu_context(wg, "charter")
|
||||
context.update(dict(
|
||||
actions=actions,
|
||||
is_chair=wg.role_set.filter(name="chair", person__user=request.user),
|
||||
is_chair=request.user.is_authenticated() and wg.role_set.filter(name="chair", person__user=request.user),
|
||||
milestones_in_review=wg.groupmilestone_set.filter(state="review"),
|
||||
requested_close=requested_close,
|
||||
))
|
||||
|
|
Loading…
Reference in a new issue