From 906fcead6aff7d8114408c2031344f251f495cb6 Mon Sep 17 00:00:00 2001 From: fmuntean Date: Fri, 29 May 2026 10:53:31 +0200 Subject: [PATCH 1/2] add rejected usersignup state --- api/v1alpha1/usersignup_types.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/api/v1alpha1/usersignup_types.go b/api/v1alpha1/usersignup_types.go index a1addb20..d54f02d1 100644 --- a/api/v1alpha1/usersignup_types.go +++ b/api/v1alpha1/usersignup_types.go @@ -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" @@ -105,6 +107,7 @@ const ( UserSignupPendingApprovalReason = "PendingApproval" UserSignupUserBanningReason = "Banning" UserSignupUserBannedReason = "Banned" + UserSignupUserRejectedReason = "Rejected" UserSignupFailedToReadBannedUsersReason = "FailedToReadBannedUsers" UserSignupMissingUserEmailReason = "MissingUserEmail" UserSignupMissingUserEmailAnnotationReason = "MissingUserEmailAnnotation" @@ -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 by the account verifier + // and their account will not be provisioned. + UserSignupStateRejected = UserSignupState("rejected") ) type UserSignupState string From c1dd6c0094f164f7b9a9f0201830d452455208a1 Mon Sep 17 00:00:00 2001 From: fmuntean Date: Fri, 29 May 2026 10:55:05 +0200 Subject: [PATCH 2/2] fix --- api/v1alpha1/usersignup_types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/v1alpha1/usersignup_types.go b/api/v1alpha1/usersignup_types.go index d54f02d1..79327d6c 100644 --- a/api/v1alpha1/usersignup_types.go +++ b/api/v1alpha1/usersignup_types.go @@ -168,7 +168,7 @@ 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 by the account verifier + // UserSignupStateRejected - If this state is set, the user was rejected // and their account will not be provisioned. UserSignupStateRejected = UserSignupState("rejected") )