Skip to content

feat(console): give project access by invitation only and remove Add admin - #3066

Merged
peintnermax merged 27 commits into
mainfrom
console-invitations-accept
Nov 24, 2026
Merged

peintnermax merged 27 commits into
mainfrom
console-invitations-accept

Conversation

@peintnermax

@peintnermax peintnermax commented Nov 13, 2026 •

Copy link
Copy Markdown
Member

Context

Summary

  • Remove Add admin from Project Settings → Members: the button, its dialog and their unit tests. Access is given with an invitation link; the Members tab lists and revokes. The row's Remove grant stays.
  • E2E
    • journey/src/claim.spec.ts: the admin creates a link on the Invitations tab, the colleague opens it and joins, the admin sees their row and removes the grant, the colleague loses the project.
    • console/src-real: this lane has no platform project, where invitations are refused by design, so the colleague's grant is written through the API; the test still proves the list row, the colleague's access and the revoke.
    • Deleted "answers the same way for an address that belongs to nobody": it tested the Add admin dialog's neutral message, which no longer exists.
  • console/playwright.real.config.mts: the console dev server now follows REAL_CONSOLE_ORIGIN's port, so the lane can run beside a dev server on 5174.

Validation

Release notes / changeset

.changeset/console-remove-add-admin.md (@zitadel/server, minor).

Notes

  • On an instance without a platform project the console now has no way to give access; that is the CLI's and the API's (POST /grants).

🤖 Generated with Claude Code

peintnermax and others added 7 commits November 11, 2026 09:22
…ecline an invitation

Adds an Invitations tab to the project page (create, regenerate, cancel),
the invitation page a link opens (/invitations/accept), and the
invitation_created, invitation_accepted and invitation_rejected events.

The token moves from the link's fragment into sessionStorage before the app
boots, and the cloud add-on leaves the invitation page out of its page views.

Refs #2855, #2856, #2859. Follows ADR 086.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Resolves conflicts with the project page's General tab, the Empty component
main added, and the generated route tree.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
main split the project page into a Settings list, so Invitations is now the
page /project/invitations beside General and Admins.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The lookup resolves the inviter as a user-ref, since the invited person cannot
read the project's users. The page shows it as it arrives.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…e Members page

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@vercel

vercel Bot commented Nov 13, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
cloud Ready Ready Preview Nov 24, 2026 8:14am UTC

Request Review

@github-actions

github-actions Bot commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

🦋 Changeset detected

Latest commit: b1f4da6

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 27 packages
Name Type
@zitadel/server Minor
@zitadel/cli Minor
@zitadel/testing Minor
@zitadel/server-darwin-arm64 Minor
@zitadel/server-darwin-x64 Minor
@zitadel/server-linux-arm64 Minor
@zitadel/server-linux-x64 Minor
@zitadel/server-win32-x64 Minor
@zitadel/api Minor
@zitadel/components Minor
@zitadel/config Minor
@zitadel/sdk-angular Minor
@zitadel/sdk-core Minor
@zitadel/sdk-next Minor
@zitadel/sdk-nuxt Minor
@zitadel/sdk-qwik Minor
@zitadel/sdk-qwik-router Minor
@zitadel/sdk-react Minor
@zitadel/sdk-solid Minor
@zitadel/sdk-solid-start Minor
@zitadel/sdk-svelte Minor
@zitadel/sdk-sveltekit Minor
@zitadel/sdk-tanstack-start Minor
@zitadel/sdk-vue Minor
@zitadel/cloud Patch
@zitadel/client-sdk-contract Patch
@zitadel/server-sdk-contract Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

peintnermax and others added 3 commits November 17, 2026 12:03
… and remove a declined one

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…admin

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
peintnermax and others added 2 commits November 17, 2026 12:20
…w screen

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…w screen

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…le and the row menu in its own file

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
peintnermax and others added 4 commits November 24, 2026 08:39
…and size an invitation's name like a member's

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
# Conflicts:
#	apps/console/src/routes/_authed/project/members.tsx
…s catalog

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
peintnermax and others added 2 commits November 24, 2026 08:52
…t is shown

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
# Conflicts:
#	apps/console/src/routes/_authed/project/project-admins.spec.tsx
Base automatically changed from console-invitations to main November 24, 2026 08:02
peintnermax and others added 2 commits November 24, 2026 09:08
…ccept

# Conflicts:
#	apps/console/src/features/project-settings/components/project-admins.tsx
#	apps/console/src/routes/_authed/project/members.tsx
#	apps/console/src/routes/_authed/project/project-admins.spec.tsx
#	apps/console/src/routes/_authed/project/project-invitations.spec.tsx
#	e2e/console/src-real/console-real.spec.ts
#	e2e/console/support/copy.ts
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@peintnermax
peintnermax added this pull request to the merge queue Nov 24, 2026
Merged via the queue into main with commit 15cfcc3 Nov 24, 2026
17 checks passed
@peintnermax
peintnermax deleted the console-invitations-accept branch November 24, 2026 08:34
@github-project-automation github-project-automation Bot moved this from Inbox to Done in Engineering Kanban Nov 24, 2026
cursor Bot pushed a commit that referenced this pull request Nov 24, 2026
Main shipped Project Settings → Members with Invite member and
/invitations/accept (#2978, #3066). Drop the outdated not-shipped
callout, lead with the console path, and stop pointing at Add admin.

Co-authored-by: Silvan <adlerhurst@users.noreply.github.com>

This branch was successfully deployed

1 active deployment
Preview — b1f4da6b Deployed Nov 24, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

1 participant