Commit 98df7ea2 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Add a couple of exports for user status to support freezing account.

Not done yet.
parent e5d33cca
......@@ -29,6 +29,8 @@ use Exporter;
TB_USERINFO_READINFO TB_USERINFO_MODIFYINFO
TB_USERINFO_MIN TB_USERINFO_MAX
USERSTATUS_ACTIVE USERSTATUS_FROZEN
TB_EXPT_READINFO TB_EXPT_MODIFY TB_EXPT_DESTROY
TB_EXPT_MIN TB_EXPT_MAX
......@@ -127,6 +129,9 @@ sub BATCHSTATE_ACTIVATING() { "activating"; }
sub BATCHSTATE_RUNNING() { "active"; }
sub BATCHSTATE_TERMINATING() { "terminating"; }
sub USERSTATUS_ACTIVE() { "active"; }
sub USERSTATUS_FROZEN() { "frozen"; }
#
# We want valid project membership to be non-zero for easy membership
# testing. Specific trust levels are encoded thusly.
......
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