Skip to content

Commit

Permalink
doc read_security requirement for profile APIs
Browse files Browse the repository at this point in the history
  • Loading branch information
albertzaharovits committed Sep 13, 2022
1 parent 154b866 commit 3e1c755
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
5 changes: 3 additions & 2 deletions x-pack/docs/en/rest-api/security/get-user-profile.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ Retrieves user profiles using a list of unique profile ID.
[[security-api-get-user-profile-prereqs]]
==== {api-prereq-title}

* To use this API, you must have _at least_ the `manage_user_profile` cluster privilege.

To use this API, you must have _at least_ the `read_security`
<<privileges-list-cluster,cluster privilege>> (or a greater privilege
such as `manage_user_profile` or `manage_security`).

[[security-api-get-user-profile-desc]]
==== {api-description-title}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ have all the requested privileges.
[[security-api-has-privileges-user-profile-prereqs]]
==== {api-prereq-title}

To use this API, you must have the `manage_user_profile` cluster privilege.
To use this API, you must have _at least_ the `read_security`
<<privileges-list-cluster,cluster privilege>> (or a greater privilege
such as `manage_user_profile` or `manage_security`).

[[security-api-has-privileges-user-profile-desc]]
==== {api-description-title}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ Get suggestions for user profiles that match specified search criteria.
[[security-api-suggest-user-profile-prereqs]]
==== {api-prereq-title}

To use this API, you must have the `manage_user_profile` cluster privilege.
To use this API, you must have _at least_ the `read_security`
<<privileges-list-cluster,cluster privilege>> (or a greater privilege
such as `manage_user_profile` or `manage_security`).

[[security-api-suggest-user-profile-query-params]]
==== {api-query-parms-title}
Expand Down

0 comments on commit 3e1c755

Please sign in to comment.