kcp icon indicating copy to clipboard operation
kcp copied to clipboard

docs: Add documentation for PermissionClaims with WorkspaceTypes (managed vs unmanaged)

Open mjudeikis-bot opened this issue 8 months ago • 2 comments

Summary

We need documentation covering how PermissionClaims interact with WorkspaceTypes, specifically:

  • PermissionClaims — what they are, how they are defined on APIExport, and how the new defaultSelector field works for automatic selector inheritance
  • WorkspaceTypes — managed — how permission claims behave in managed workspace types (platform-controlled lifecycle)
  • WorkspaceTypes — unmanaged — how permission claims behave in unmanaged workspace types (user-controlled lifecycle)
  • Differences in claim acceptance/rejection flow between managed and unmanaged types
  • Example YAML manifests for each scenario
  • Edge cases: what happens when a claim selector does not match, interaction with APIBinding

Context

This was raised during review of #3884 (feat: Add defaultSelector to PermissionClaim on APIExport for automatic selector inheritance).

Acceptance Criteria

  • [ ] Conceptual doc (or update to existing API Access Control docs) covering managed vs unmanaged WT + PermissionClaims
  • [ ] At least one worked example per type
  • [ ] Linked from the APIExport and WorkspaceType reference pages

mjudeikis-bot avatar Mar 06 '26 12:03 mjudeikis-bot

Issues go stale after 90d of inactivity. After a furter 30 days, they will turn rotten. Mark the issue as fresh with /remove-lifecycle stale.

If this issue is safe to close now please do so with /close.

/lifecycle stale

kcp-ci-bot avatar Jun 04 '26 20:06 kcp-ci-bot

Stale issues rot after 30d of inactivity. Mark the issue as fresh with /remove-lifecycle rotten. Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

/lifecycle rotten

kcp-ci-bot avatar Nov 09 '26 20:11 kcp-ci-bot