mirror of
https://github.com/SigNoz/signoz.git
synced 2026-09-05 19:10:40 +01:00
Some checks failed
build-staging / prepare (push) Has been cancelled
build-staging / js-build (push) Has been cancelled
build-staging / go-build (push) Has been cancelled
build-staging / staging (push) Has been cancelled
cacheci / tests (push) Has been cancelled
Release Drafter / update_release_draft (push) Has been cancelled
#### Description - Adds strongly typed `/api/v4/licenses` endpoints on the apiserver with OpenAPI definitions: activate, list, get, refresh, delete, and `GET /api/v4/licenses/active`. - Wires resource authz (`license:create/list/read/update/delete`) via `CheckResources`; `GET /active` is `OpenAccess` and never includes the license key — the key is returned only by the FGA-gated get-by-id, so orgs can grant `license:read` selectively. Migration 118 backfills license tuples for existing orgs. - Delete is allowed only for non-cloud licenses; licenses managed by SigNoz Cloud are rejected. - v4 responses are camelCase with lowercase enum values; v3 routes and stored license data are unchanged. #### Issues closed by this PR Closes https://github.com/SigNoz/platform-pod/issues/3076