Split inactive profile state#1295
Draft
codenem wants to merge 3 commits into
Draft
Conversation
7a0c952 to
0cc3bd5
Compare
Add pending and deactivated profile states so inactive invited users can remain assignable before activation. The migration classifies existing inactive profiles from invitation recency, tracks activation/deactivation timestamps, and updates lifecycle transitions for invites, account activation, SCIM, SAML, and archive flows. Signed-off-by: Cursor Agent <cursoragent@cursor.com>
Signed-off-by: Émile Ré <emile@probo.com>
c1edb38 to
a9e8c1e
Compare
Signed-off-by: Émile Ré <emile@probo.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
INACTIVEsemantics withPENDING,ACTIVE, andDEACTIVATED, including activation/deactivation timestamps and data migration classification from invitation recency.Verification
go generate ./pkg/server/api/connect/v1 && go generate ./pkg/server/api/console/v1 && go generate ./pkg/server/api/mcp/v1make relaymake go-fmtgo test ./pkg/coredata ./pkg/iam ./pkg/server/api/console/v1 ./pkg/server/api/connect/v1 ./pkg/server/api/mcp/v1 ./pkg/trust ./pkg/cmd/user/listnpm --workspace @probo/console run checknpm --workspace @probo/n8n-nodes-probo run lintLinear Issue: ENG-450
Summary by cubic
Split the old INACTIVE profile state into PENDING, ACTIVE, and DEACTIVATED so pending members can be assigned assets/data/risks. Adds activation/deactivation timestamps, migrates existing data, and updates filters, APIs, services, and UI to match. Addresses Linear ENG-450.
Coredata
+159-12Service
+50-29GraphQL API
+17-5MCP
+13-3prb (CLI)
+2-2App: console
+12-7Package:
n8n-node+2-1Tests
+1-1Written for commit c225817. Summary will update on new commits.