Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix missing pluralization on Role #153

Merged
merged 4 commits into from
Oct 2, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 18 additions & 4 deletions model/security/role.smithy
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ structure Role {
reserved: Boolean
hidden: Boolean
description: String
cluster_permission: ClusterPermission
index_permission: IndexPermission
tenant_permissions: TenantPermission
cluster_permissions: ClusterPermission
index_permissions: IndexPermissionList
jgillich marked this conversation as resolved.
Show resolved Hide resolved
tenant_permissions: TenantPermissionList
static: Boolean
}

Expand All @@ -28,12 +28,26 @@ list ClusterPermission {

structure IndexPermission {
index_patterns: IndexPatterns
dls: String
fls: Fls
masked_fields: MaskedFields
allowed_actions: AllowedActions
}

list TenantPermission {
list IndexPermissionList {
member: IndexPermission
}

structure TenantPermission {
tenant_patterns: TenantPatterns
allowed_actions: AllowedActions
}

list TenantPermissionList {
member: TenantPermission
}

list TenantPatterns {
member: String
}

Expand Down
Loading