Repository navigation
docs: document invitations and project memberships - #3256
Conversation
Add a concept page for access and memberships, a manage-project-access guide, and cross-links from project-team-user, local-runtime, and the API tag indexes so invitations, grants, and team memberships are explained outside the generated operation pages. Co-authored-by: Silvan <adlerhurst@users.noreply.github.com>
State the 100 pending-invitation cap and metadata.name length on createInvitation, and align grant expand descriptions with requirePrincipalRead for sessions and project secrets. Co-authored-by: Silvan <adlerhurst@users.noreply.github.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.
🦋 Changeset detectedLatest commit: e9839b5 The changes in this PR will be included in the next version bump. This PR includes changesets to release 0 packagesWhen changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types 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 |
Verification against a local runtime showed team grants resolve only platform teams, and identifier grants print Command completed even on a miss. Spell both out in the guide. Co-authored-by: Silvan <adlerhurst@users.noreply.github.com>
Invitation and membership concept/guide pages push llms-full.txt past 600k characters. Keep the guardrail well below the multi-megabyte operation-inclusive size while allowing the new prose. Co-authored-by: Silvan <adlerhurst@users.noreply.github.com>
| `GET /projects/{project_id}/members` lists each effective member once with their | ||
| strongest role and sources. Prefer it, with an optional `relation` filter, when | ||
| you need every role. `GET /projects/{project_id}/admins` returns only admins and | ||
| remains available while older clients use it. How owning teams, grants and | ||
| invitations combine: [Access and memberships](/docs/concepts/access-and-memberships). |
There was a problem hiding this comment.
I think this paragraph can be removed. The list of APIs gets rendered below and it becomes too repetitive: https://cloud-git-cursor-invitation-membership-docs-3501-zitadel.vercel.app/docs/reference/api/projects
| @@ -0,0 +1,74 @@ | |||
| --- | |||
There was a problem hiding this comment.
This page is a bit more technically detailed as compared to the other pages under Concepts. Can you make it a bit more high-level and shorter?
|
|
||
| ### Effective members | ||
|
|
||
| `GET /projects/{project_id}/members` lists each person once with their strongest role and the `sources` that produced it (`owning_team` or `grant`, direct or via a team). Prefer that list when you need every role. `GET /projects/{project_id}/admins` returns only admins and remains available while the console uses it. |
There was a problem hiding this comment.
I have added a sub-task as a reminder for us to drop the GET /projects/{project_id}/admins endpoint: #3276
Address review: keep Access and memberships high-level, leave exact API and error detail to the guide and reference, remove the members vs admins paragraph from the Projects tag page, and restore the 600k llms-full.txt budget now that the prose fits. Co-authored-by: Silvan <adlerhurst@users.noreply.github.com>
Localhost measured under 600k after the shorter concept page, but the preview deployment's longer absolute origin pushed llms-full.txt to ~610k. Restore the 650k budget with a note about that inflation. Co-authored-by: Silvan <adlerhurst@users.noreply.github.com>
Context
Summary
/docs/concepts/access-and-membershipsexplaining project roles, owning teams, grants, invitations, and team membership vs lifecycle ownership./docs/guides/manage-project-accessfor inviting collaborators (console Members → Invite member and CLI), granting roles, verifying members, and recovering from common errors.project-team-user,local-runtime, and the Invitations / Grants / Projects / Teams / Users API tag indexes; add missing Invitations, Search, and Policies cards on the API overview.expand=principal(sessions need principal read too) and name the invitation pending cap (100) andmetadata.namelength (1–200).--user-user-id/--team-team-id, and note identifier-grant human output (Command completed).Validation
turbo run generate --filter=@zitadel/serverturbo run generate --filter=@zitadel/docsturbo run typecheck lint build --filter=@zitadel/docs(new pages prerendered:/docs/concepts/access-and-memberships,/docs/guides/manage-project-access)/docs/guides/manage-project-accessagainstzitadel start+setup --server local(invitation create/list/get/replace/cancel, grant create/list/delete,api listProjectMembers,event listfilters). Fixed guide wording for platform team grants and opaque identifier creates.Release notes / changeset
.changeset/five-aliens-sell.md— OpenAPI description accuracy only; no request/response/behavior change. Concept and guide pages are repo docs underapps/docs.Notes
GET /projects/{project_id}/admins: Project members: remove GET /projects/{project_id}/admins #3276.