Skip to content

Commit 6169471

Browse files
authored
fix: Grant notes-related permissions to cloud owner, viewer, and editor roles. (#190)
This PR fixes an issue in which Datum users were not able to create notes under their domains. Users received the next error message when trying to create a note: ```json { "kind": "Status", "apiVersion": "v1", "metadata": {}, "status": "Failure", "message": "notes.notes.miloapis.com is forbidden: User \"xxxxx@xxxxx.com\" cannot create resource \"notes\" in API group \"notes.miloapis.com\" in the namespace \"default\"", "reason": "Forbidden", "details": { "group": "notes.miloapis.com", "kind": "notes" }, "code": 403 } ``` Related to: https://discord.com/channels/1420159806496440412/1452783709295214805/1481416482809450640
2 parents 6759406 + 30abdf3 commit 6169471

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

config/assignable-organization-roles/roles/datum-cloud-editor.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,5 @@ spec:
2424
namespace: milo-system
2525
- name: dns.networking.miloapis.com-dns-admin
2626
namespace: milo-system
27+
- name: notes-editor
28+
namespace: milo-system

config/assignable-organization-roles/roles/datum-cloud-owner.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,5 @@ spec:
2828
namespace: milo-system
2929
- name: iam-user-invitations-admin
3030
namespace: milo-system
31+
- name: notes-admin
32+
namespace: milo-system

config/assignable-organization-roles/roles/datum-cloud-viewer.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,5 @@ spec:
2626
namespace: milo-system
2727
- name: activity.miloapis.com-audit-log-querier
2828
namespace: milo-system
29+
- name: notes-viewer
30+
namespace: milo-system

0 commit comments

Comments
 (0)