Skip to content

Commit d47c0ae

Browse files
committed
Add notifications_send_access reserved role
Adds a reserved role that can send messages through existing Notifications channels without being able to create, update or delete them: cluster:admin/opensearch/notifications/feature/send, plus channels/get and features so the caller can choose a channel. Related: opensearch-project/notifications#1279 Signed-off-by: Surya Sashank Nistala <snistala@amazon.com>
1 parent 222523c commit d47c0ae

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

‎config/roles.yml‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,14 @@ notifications_read_access:
352352
- 'cluster:admin/opensearch/notifications/configs/get'
353353
- 'cluster:admin/opensearch/notifications/features'
354354

355+
# Allows users to send messages through existing Notifications channels
356+
notifications_send_access:
357+
reserved: true
358+
cluster_permissions:
359+
- 'cluster:admin/opensearch/notifications/channels/get'
360+
- 'cluster:admin/opensearch/notifications/feature/send'
361+
- 'cluster:admin/opensearch/notifications/features'
362+
355363
# Allows users to use all snapshot management functionality
356364
snapshot_management_full_access:
357365
reserved: true

0 commit comments

Comments
 (0)