summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYingtong Li <runassudo@yingtongli.me>2020-02-16 21:15:05 +1100
committerYingtong Li <runassudo@yingtongli.me>2020-02-16 21:15:05 +1100
commit28eb72ef81de70919cc9d338fed0281affa7b70d (patch)
tree947dd6a830f297cdbdf5fdfe9a945a568f424867
parentecfa4bdc2bdbd8184d5dbef6e1fbb0ce0267e76e (diff)
List closed budgets for committee members
-rw-r--r--sstreasury/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sstreasury/views.py b/sstreasury/views.py
index 4add30e..4acf8a8 100644
--- a/sstreasury/views.py
+++ b/sstreasury/views.py
@@ -222,7 +222,7 @@ def budget_list(request):
group = budgets_open
else:
group = budgets_closed
- elif request.user.groups.filter(name='Treasury').exists() or request.user.groups.filter(name='Secretary').exists():
+ elif request.user.groups.filter(name='Treasury').exists() or request.user.groups.filter(name='Secretary').exists() or request.user.groups.filter(name='Committee').exists():
if state == models.BudgetState.APPROVED:
group = budgets_closed
else:
Contact (issues, pull requests, etc.) at git@yingtongli.me. Generated by cgit.