Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure
TypeScript
docs(control-api): mergeSecret docstring lists the mcp-server patch grant too
Alfredo Lopez8f1f20db097c
diff --git a/control-api/package-lock.json b/control-api/package-lock.jsonindex b75bd6f77..f52b8d497 100644--- a/control-api/package-lock.json+++ b/control-api/package-lock.json@@ -1,12 +1,12 @@{"name": "clerum-control-api",- "version": "0.1.397",+ "version": "0.1.398","lockfileVersion": 3,"requires": true,"packages": {"": {"name": "clerum-control-api",- "version": "0.1.397",+ "version": "0.1.398","dependencies": {"@clerum/image-policy": "file:../packages/image-policy","@clerum/llm-providers": "file:../packages/llm-providers",diff --git a/control-api/package.json b/control-api/package.jsonindex 2ca346d93..a85e64e68 100644--- a/control-api/package.json+++ b/control-api/package.json@@ -1,6 +1,6 @@{"name": "clerum-control-api",- "version": "0.1.397",+ "version": "0.1.398","description": "Internal Clerum control plane REST API + UI for managing CRDs and secrets","main": "dist/main.js","engines": {diff --git a/control-api/src/services/secretService.ts b/control-api/src/services/secretService.tsindex 41d8401b5..914f949ad 100644--- a/control-api/src/services/secretService.ts+++ b/control-api/src/services/secretService.ts@@ -98,10 +98,13 @@ export class SecretService {* other owners may add adjacent keys; a full `replaceNamespacedSecret`* from one owner would wipe the other owner's keys.*- * Requires `secrets: patch` RBAC verb on the target namespace's Role —- * currently granted only in `deploy/base/channels/rbac.yaml` for the- * `control-api-communication-channels` Role. Do NOT call this from- * routes that target other namespaces unless their Role has been updated.+ * Requires `secrets: patch` RBAC verb on the target namespace's Role.+ * Granted in `deploy/base/channels/rbac.yaml` (the+ * `control-api-communication-channels` Role, for the channel-reader flow+ * above) and in `deploy/base/mcp-server/rbac.yaml` (the `control-api` Role,+ * for the issue #223 connector credential-rotation route). Do NOT call this+ * from a route targeting any OTHER namespace unless that namespace's Role+ * has been granted `patch`.*/async mergeSecret(req: SecretUpsertRequest): Promise<unknown> {assertValidSecretWriteKeys(req)