Skip to content

Commit

Permalink
Add TenantPermission struct
Browse files Browse the repository at this point in the history
Signed-off-by: Jakob Gillich <[email protected]>
  • Loading branch information
jgillich committed Oct 1, 2023
1 parent 3b703c6 commit c0ad1f0
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions model/security/role.smithy
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ structure Role {
description: String
cluster_permissions: ClusterPermission
index_permissions: IndexPermissionList
tenant_permissions: TenantPermission
tenant_permissions: TenantPermissionList
static: Boolean
}

Expand All @@ -38,7 +38,16 @@ list IndexPermissionList {
member: IndexPermission
}

list TenantPermission {
structure TenantPermission {
tenant_patterns: TenantPatterns
allowed_actions: AllowedActions
}

list TenantPermissionList {
member: TenantPermission
}

list TenantPatterns {
member: String
}

Expand Down

0 comments on commit c0ad1f0

Please sign in to comment.