-
Notifications
You must be signed in to change notification settings - Fork 4.1k
multitenant: introduce kv portion of the tenant capabilities framework #94643
Copy link
Copy link
Closed
Labels
C-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)T-multitenantIssues owned by the multi-tenant virtual teamIssues owned by the multi-tenant virtual team
Description
Is your feature request related to a problem? Please describe.
This issue tracks the KV work required to enable tenant capabilities, as described in #85954.
Required
- Introduce
TenantCapabilitiesproto which describes the capabilities a specific tenant has tenantcapabilities: introduce TenantCapabilities proto #94644 - Introduce a Decoder for rows produced by the rangefeed on
system.tenantstable. tenantcapabilities: introduce a decoder for tenant capabilities #94722 - Introduce a
Watcher, which establishes a range feed oversystem.tenantsand maintains an in-memory view of all tenant capabilities in the system. tenantcapabilities: introduce a Watcher over system.tenants #95040 - Introduce an
Authorizerinterface, which accepts tenant capabilities state as input, and makes authorizes incoming requests based on the tenant capabilities state. tenantcapabilities: introduce a Watcher over system.tenants #95040 - Hook up the
Watcherto server startup and use theAuthorizerin the RPC auth layer. server: hook up tenant capabilities subsystem on startup #96390
Follow-on:
- Allow secondary tenants to introspect their capabilities: tenantcapabilities: allow secondary tenants to query capability state when performing SQL operations #95514
See https://cockroachlabs.atlassian.net/browse/CRDB-18503 for the JIRA epic describing this work.
Jira issue: CRDB-23060
Epic CRDB-18503
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
C-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)T-multitenantIssues owned by the multi-tenant virtual teamIssues owned by the multi-tenant virtual team