Skip to content

Commit e3a3b89

Browse files
committed
Allow index name patterns in Privileges index fields
1 parent 55d431a commit e3a3b89

File tree

6 files changed

+41
-83
lines changed

6 files changed

+41
-83
lines changed

output/openapi/elasticsearch-openapi.json

Lines changed: 5 additions & 25 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/openapi/elasticsearch-serverless-openapi.json

Lines changed: 1 addition & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/schema-serverless.json

Lines changed: 4 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/schema.json

Lines changed: 20 additions & 35 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/typescript/types.ts

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/security/_types/Privileges.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
import { Dictionary } from '@spec_utils/Dictionary'
2121
import { UserDefinedValue } from '@spec_utils/UserDefinedValue'
22-
import { Id, IndexName, Names } from '@_types/common'
22+
import { Id, Indices, Names } from '@_types/common'
2323
import { QueryContainer } from '@_types/query_dsl/abstractions'
2424
import { ScriptLanguage } from '@_types/Scripting'
2525
import { FieldSecurity } from './FieldSecurity'
@@ -204,7 +204,7 @@ export class IndicesPrivileges {
204204
/**
205205
* A list of indices (or index name patterns) to which the permissions in this entry apply.
206206
*/
207-
names: IndexName[]
207+
names: Indices
208208
/**
209209
* The index level privileges that owners of the role have on the specified indices.
210210
*/
@@ -235,7 +235,7 @@ export class RemoteIndicesPrivileges {
235235
/**
236236
* A list of indices (or index name patterns) to which the permissions in this entry apply.
237237
*/
238-
names: IndexName[]
238+
names: Indices
239239
/**
240240
* The index level privileges that owners of the role have on the specified indices.
241241
*/
@@ -261,7 +261,7 @@ export class UserIndicesPrivileges {
261261
/**
262262
* A list of indices (or index name patterns) to which the permissions in this entry apply.
263263
*/
264-
names: IndexName[]
264+
names: Indices
265265
/**
266266
* The index level privileges that owners of the role have on the specified indices.
267267
*/
@@ -381,7 +381,7 @@ export class ReplicationAccess {
381381
/**
382382
* A list of indices (or index name patterns) to which the permissions in this entry apply.
383383
*/
384-
names: IndexName[]
384+
names: Indices
385385
}
386386

387387
export class SearchAccess {
@@ -393,7 +393,7 @@ export class SearchAccess {
393393
/**
394394
* A list of indices (or index name patterns) to which the permissions in this entry apply.
395395
*/
396-
names: IndexName[]
396+
names: Indices
397397
/**
398398
* A search query that defines the documents the owners of the role have access to. A document within the specified indices must match this query for it to be accessible by the owners of the role.
399399
*/

0 commit comments

Comments
 (0)