summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYingtong Li <runassudo@yingtongli.me>2020-02-27 17:55:56 +1100
committerYingtong Li <runassudo@yingtongli.me>2020-02-27 17:55:56 +1100
commit17637a4cfd70e2093f906b40269d610a870bbe9c (patch)
tree8976106f1bec26ae684a839c5021b1a996a95a40
parente69efdc816ec4a008b3f495c8ec3b30b4509e97c (diff)
Allow committee to view submitted budgets
-rw-r--r--sstreasury/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sstreasury/models.py b/sstreasury/models.py
index 795d8ef..5d0bf0d 100644
--- a/sstreasury/models.py
+++ b/sstreasury/models.py
@@ -121,7 +121,7 @@ class BudgetRevision(models.Model):
return True
if user.groups.filter(name='Treasury').exists():
return True
- if (self.state == BudgetState.ENDORSED.value or self.state == BudgetState.APPROVED.value) and user.groups.filter(name='Committee').exists():
+ if (self.state == BudgetState.AWAIT_REVIEW.value or self.state == BudgetState.ENDORSED.value or self.state == BudgetState.APPROVED.value) and user.groups.filter(name='Committee').exists():
return True
return False
Contact (issues, pull requests, etc.) at git@yingtongli.me. Generated by cgit.