From b62e3d2af823692345f86916351bd6c14bca3e48 Mon Sep 17 00:00:00 2001 From: Matt Jenkinson <75292329+mattdjenkinson@users.noreply.github.com> Date: Mon, 16 Nov 2026 13:37:44 -0500 Subject: [PATCH] feat(iam): let organization editors manage service entitlements Organization editors can't enable a service such as Compute. Enabling one creates a ServiceEntitlement in the project, and the request is refused: serviceentitlements.services.miloapis.com is forbidden: User cannot create resource "serviceentitlements" in API group "services.miloapis.com" at the cluster scope Owners got this grant in 85fb285, but Editor was left out, even though it already administers Compute, networking and billing. An editor who joins an organization to deploy a workload has to ask an owner to switch Compute on first. Inherit `services.miloapis.com-entitlement-admin` on Editor, matching Owner. This also lets editors update and delete entitlements, the same as owners can today. --- .../assignable-organization-roles/roles/datum-cloud-editor.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/assignable-organization-roles/roles/datum-cloud-editor.yaml b/config/assignable-organization-roles/roles/datum-cloud-editor.yaml index 7095138..0c48fd9 100644 --- a/config/assignable-organization-roles/roles/datum-cloud-editor.yaml +++ b/config/assignable-organization-roles/roles/datum-cloud-editor.yaml @@ -32,5 +32,7 @@ spec: namespace: milo-system - name: billing.miloapis.com-admin namespace: milo-system + - name: services.miloapis.com-entitlement-admin + namespace: milo-system - name: compute.datumapis.com-admin namespace: milo-system