mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-19 19:09:22 +02:00
Refine logic for fixture users
This commit is contained in:
parent
8b27c44b89
commit
aa9127875a
3 changed files with 18 additions and 5 deletions
|
@ -33,6 +33,10 @@ class User(AbstractUser):
|
|||
VERIFIED_BY_STAFF = "verified_by_staff", "Verified by staff"
|
||||
REGULAR = "regular", "Verified by Login.gov"
|
||||
INVITED = "invited", "Invited by a domain manager"
|
||||
# We need a type for fixture users (rather than using verified by staff)
|
||||
# because those users still do get "verified" through normal means
|
||||
# after they login.
|
||||
FIXTURE_USER = "fixture_user", "Created by fixtures"
|
||||
|
||||
# #### Constants for choice fields ####
|
||||
RESTRICTED = "restricted"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue