From 87ea68fc8c6d8e05c79c0ae7c5b2388d6977acee Mon Sep 17 00:00:00 2001 From: Jakob Gillich Date: Mon, 2 Oct 2023 01:35:33 +0200 Subject: [PATCH] Fix index_permissions not being a list --- model/security/role.smithy | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/model/security/role.smithy b/model/security/role.smithy index 44f412b77..8a7bc5aca 100644 --- a/model/security/role.smithy +++ b/model/security/role.smithy @@ -17,7 +17,7 @@ structure Role { hidden: Boolean description: String cluster_permissions: ClusterPermission - index_permissions: IndexPermission + index_permissions: IndexPermissionList tenant_permissions: TenantPermission static: Boolean } @@ -33,6 +33,10 @@ structure IndexPermission { allowed_actions: AllowedActions } +list IndexPermissionList { + member: IndexPermission +} + list TenantPermission { member: String }