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
8 changes: 8 additions & 0 deletions api/v1alpha1/usersignup_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ const (
UserVerificationExpiryAnnotationKey = LabelKeyPrefix + "verification-expiry"
// SkipAutoCreateSpaceAnnotationKey when true signals the usersignup controller to skip Space creation, otherwise a Space will be created by default
SkipAutoCreateSpaceAnnotationKey = LabelKeyPrefix + "skip-auto-create-space"
// UserSignupVerifiedTimestampAnnotationKey defines when the UserSignup was successfully verified last time
UserSignupVerifiedTimestampAnnotationKey = LabelKeyPrefix + "verified-at"
// UserSignupActivationCounterAnnotationKey is used for the usersignup activation counter annotation key
// Activations are counted after phone verification succeeded
UserSignupActivationCounterAnnotationKey = LabelKeyPrefix + "activation-counter"
Expand Down Expand Up @@ -86,6 +88,8 @@ const (
UserSignupStateLabelValueBanned = "banned"
// UserSignupStateLabelValueRejected is used for identifying that the UserSignup was rejected
UserSignupStateLabelValueRejected = "rejected"
// UserSignupStateLabelValueNoProvisioning is used for identifying that the UserSignup that was verified but won't be provisioned
UserSignupStateLabelValueNoProvisioning = "no-provisioning"

// Status condition reasons
UnableToCreateSpaceBinding = "UnableToCreateSpaceBinding"
Expand Down Expand Up @@ -115,6 +119,7 @@ const (
UserSignupUserBanningReason = "Banning"
UserSignupUserBannedReason = "Banned"
UserSignupUserRejectedReason = "Rejected"
UserSignupInNoProvisioningStateReason = "InNoProvisioningState"
UserSignupFailedToReadBannedUsersReason = "FailedToReadBannedUsers"
UserSignupMissingUserEmailReason = "MissingUserEmail"
UserSignupMissingUserEmailAnnotationReason = "MissingUserEmailAnnotation"
Expand Down Expand Up @@ -179,6 +184,9 @@ const (
// and their account will not be provisioned.
UserSignupStateRejected = UserSignupState("rejected")

// UserSignupStateNoProvisioning - If this state is set, the user goes only through the signup gating mechanisms but is not provisioned
UserSignupStateNoProvisioning = UserSignupState("no-provisioning")
Comment thread
MatousJobanek marked this conversation as resolved.

// ###############################################################################
// Account Verifier accepted verdict values
// ###############################################################################
Expand Down
Loading