Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions api/v1alpha1/usersignup_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ const (
UserSignupStateLabelValueDeactivated = "deactivated"
// UserSignupStateLabelValueBanned is used for identifying that the UserSignup is banned
UserSignupStateLabelValueBanned = "banned"
// UserSignupStateLabelValueRejected is used for identifying that the UserSignup was rejected
UserSignupStateLabelValueRejected = "rejected"

// Status condition reasons
UnableToCreateSpaceBinding = "UnableToCreateSpaceBinding"
Expand Down Expand Up @@ -105,6 +107,7 @@ const (
UserSignupPendingApprovalReason = "PendingApproval"
UserSignupUserBanningReason = "Banning"
UserSignupUserBannedReason = "Banned"
UserSignupUserRejectedReason = "Rejected"
UserSignupFailedToReadBannedUsersReason = "FailedToReadBannedUsers"
UserSignupMissingUserEmailReason = "MissingUserEmail"
UserSignupMissingUserEmailAnnotationReason = "MissingUserEmailAnnotation"
Expand Down Expand Up @@ -164,6 +167,10 @@ const (

// UserSignupStateBanned - If this state is set by an admin then the user's account will be banned.
UserSignupStateBanned = UserSignupState("banned")

// UserSignupStateRejected - If this state is set, the user was rejected
// and their account will not be provisioned.
UserSignupStateRejected = UserSignupState("rejected")
)

type UserSignupState string
Expand Down
Loading