Commit 6fb8398f authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Add some user "status" enum constants.

parent d44e8b41
......@@ -29,7 +29,8 @@ use Exporter;
TB_USERINFO_READINFO TB_USERINFO_MODIFYINFO
TB_USERINFO_MIN TB_USERINFO_MAX
USERSTATUS_ACTIVE USERSTATUS_FROZEN
USERSTATUS_ACTIVE USERSTATUS_FROZEN
USERSTATUS_UNAPPROVED USERSTATUS_UNVERIFIED USERSTATUS_NEWUSER
TB_EXPT_READINFO TB_EXPT_MODIFY TB_EXPT_DESTROY
TB_EXPT_MIN TB_EXPT_MAX
......@@ -201,6 +202,9 @@ sub BATCHSTATE_TERMINATING() { "terminating"; }
sub USERSTATUS_ACTIVE() { "active"; }
sub USERSTATUS_FROZEN() { "frozen"; }
sub USERSTATUS_UNAPPROVED() { "unapproved"; }
sub USERSTATUS_UNVERIFIED() { "unverified"; }
sub USERSTATUS_NEWUSER() { "newuser"; }
#
# We want valid project membership to be non-zero for easy membership
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment