feat: blocked orgs cannot access any endpoints
This commit is contained in:
parent
37a3972d04
commit
c94c26f2a6
2 changed files with 9 additions and 0 deletions
|
|
@ -37,6 +37,10 @@ class Status(StrEnum):
|
|||
def is_pre_submission(self):
|
||||
return self in (self.PARTIAL, self.REMEDIATION)
|
||||
|
||||
@property
|
||||
def is_blocked(self):
|
||||
return self in (self.REMOVED, self.REJECTED)
|
||||
|
||||
|
||||
class ContactType(StrEnum):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue