mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-28 09:28:55 -04:00
[DOCS] Add get user privileges API (#73016)
This commit is contained in:
parent
60ee57f079
commit
68c33dc713
8 changed files with 88 additions and 6 deletions
|
@ -7,6 +7,9 @@
|
|||
[id="{upid}-{api}"]
|
||||
=== Get Builtin Privileges API
|
||||
|
||||
Retrieves the list of cluster privileges and index privileges that are
|
||||
available in this version of {es}.
|
||||
|
||||
include::../execution-no-req.asciidoc[]
|
||||
|
||||
[id="{upid}-{api}-response"]
|
||||
|
|
|
@ -6,12 +6,14 @@
|
|||
--
|
||||
[role="xpack"]
|
||||
[id="{upid}-{api}"]
|
||||
=== Get Privileges API
|
||||
=== Get Application Privileges API
|
||||
|
||||
Retrieves application privileges.
|
||||
|
||||
[id="{upid}-{api}-request"]
|
||||
==== Get Privileges Request
|
||||
|
||||
The +{request}+ supports getting privilege(s) for all or for specific applications.
|
||||
The +{request}+ supports getting privileges for all or for specific applications.
|
||||
|
||||
===== Specific privilege of a specific application
|
||||
|
||||
|
|
|
@ -7,6 +7,8 @@
|
|||
[id="{upid}-{api}"]
|
||||
=== Get User Privileges API
|
||||
|
||||
Retrieves security privileges for the logged in user.
|
||||
|
||||
include::../execution-no-req.asciidoc[]
|
||||
|
||||
[id="{upid}-{api}-response"]
|
||||
|
|
|
@ -7,6 +7,8 @@
|
|||
[id="{upid}-{api}"]
|
||||
=== Has Privileges API
|
||||
|
||||
Determines whether the logged in user has a specified list of privileges.
|
||||
|
||||
[id="{upid}-{api}-request"]
|
||||
==== Has Privileges Request
|
||||
The +{request}+ supports checking for any or all of the following privilege types:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue