feat: blocked orgs cannot access any endpoints

This commit is contained in:
Chris Milne 2026-06-11 16:39:32 +01:00
parent 37a3972d04
commit c94c26f2a6
2 changed files with 9 additions and 0 deletions

View file

@ -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):
"""