Skip to content

Commit db589f7

Browse files
committed
doc
1 parent da13ed4 commit db589f7

File tree

1 file changed

+5
-5
lines changed
  • packages/postgres-database/src/simcore_postgres_database/models

1 file changed

+5
-5
lines changed

packages/postgres-database/src/simcore_postgres_database/models/users.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -51,15 +51,15 @@ def __lt__(self, other: "UserRole") -> bool:
5151

5252

5353
class UserStatus(str, Enum):
54-
# user registered but not confirmed
54+
# This is a transition state. The user is registered but not confirmed. NOTE that state is optional depending on LOGIN_REGISTRATION_CONFIRMATION_REQUIRED
5555
CONFIRMATION_PENDING = "CONFIRMATION_PENDING"
56-
# user is confirmed and can use the platform
56+
# This user can now operate the platform
5757
ACTIVE = "ACTIVE"
58-
# user is not authorized because it expired after a trial period
58+
# This user is inactive because it expired after a trial period
5959
EXPIRED = "EXPIRED"
60-
# user is not authorized
60+
# This user is inactive because he has been a bad boy
6161
BANNED = "BANNED"
62-
# this account is marked for deletion
62+
# This user is inactive because it was marked for deletion
6363
DELETED = "DELETED"
6464

6565

0 commit comments

Comments
 (0)