Skip to content

Commit

Permalink
Fix index_permissions not being a list
Browse files Browse the repository at this point in the history
  • Loading branch information
jgillich committed Oct 1, 2023
1 parent a13ac8e commit 87ea68f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion model/security/role.smithy
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ structure Role {
hidden: Boolean
description: String
cluster_permissions: ClusterPermission
index_permissions: IndexPermission
index_permissions: IndexPermissionList
tenant_permissions: TenantPermission
static: Boolean
}
Expand All @@ -33,6 +33,10 @@ structure IndexPermission {
allowed_actions: AllowedActions
}

list IndexPermissionList {
member: IndexPermission
}

list TenantPermission {
member: String
}
Expand Down

0 comments on commit 87ea68f

Please sign in to comment.