mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-25 09:28:27 +00:00
Docs: remove incorrect name attribute from role snippet
relates elastic/x-pack-elasticsearch#2497 Original commit: elastic/x-pack-elasticsearch@ef15a1e36c
This commit is contained in:
parent
b3914afd30
commit
19de38665e
@ -156,19 +156,17 @@ A role is defined by the following JSON structure:
|
||||
[source,js]
|
||||
-----
|
||||
{
|
||||
"name": "...", <1>
|
||||
"run_as": [ ... ] <2>
|
||||
"cluster": [ ... ], <3>
|
||||
"indices": [ ... ] <4>
|
||||
"run_as": [ ... ], <1>
|
||||
"cluster": [ ... ], <2>
|
||||
"indices": [ ... ] <3>
|
||||
}
|
||||
-----
|
||||
<1> The role name, also used as the role ID.
|
||||
<2> A list of usernames the owners of this role can <<run-as-privilege, impersonate>>.
|
||||
<3> A list of cluster privileges. These privileges define the
|
||||
<1> A list of usernames the owners of this role can <<run-as-privilege, impersonate>>.
|
||||
<2> A list of cluster privileges. These privileges define the
|
||||
cluster level actions users with this role are able to execute. This field
|
||||
is optional (missing `cluster` privileges effectively mean no cluster level
|
||||
permissions).
|
||||
<4> A list of indices permissions entries. This field is optional (missing `indices`
|
||||
<3> A list of indices permissions entries. This field is optional (missing `indices`
|
||||
privileges effectively mean no index level permissions).
|
||||
|
||||
[[valid-role-name]]
|
||||
|
Loading…
x
Reference in New Issue
Block a user