1
0
Эх сурвалжийг харах

[DOCS] Adds authorization info for CCR APIs (#35557)

Lisa Cawley 7 жил өмнө
parent
commit
04a087fe2f

+ 8 - 0
docs/reference/ccr/apis/follow/post-pause-follow.asciidoc

@@ -48,6 +48,14 @@ POST /<follower_index>/_ccr/pause_follow
 `follower_index` (required)::
   (string) the name of the follower index
 
+
+==== Authorization
+
+If the {es} {security-features} are enabled, you must have `manage_ccr` cluster
+privileges on the cluster that contains the follower index. For more information,
+see {stack-ov}/security-privileges.html[Security privileges].
+
+
 ==== Example
 
 This example pauses a follower index named `follower_index`:

+ 8 - 0
docs/reference/ccr/apis/follow/post-resume-follow.asciidoc

@@ -63,6 +63,14 @@ POST /<follower_index>/_ccr/resume_follow
 ==== Request Body
 include::../follow-request-body.asciidoc[]
 
+==== Authorization
+
+If the {es} {security-features} are enabled, you must have `write` and `monitor`
+index privileges for the follower index. You must have `read` and `monitor`
+index privileges for the leader index. You must also have `manage_ccr` cluster
+privileges on the cluster that contains the follower index. For more information,
+see {stack-ov}/security-privileges.html[Security privileges].
+
 ==== Example
 
 This example resumes a follower index named `follower_index`:

+ 9 - 0
docs/reference/ccr/apis/follow/put-follow.asciidoc

@@ -58,6 +58,15 @@ PUT /<follower_index>/_ccr/follow
 
 include::../follow-request-body.asciidoc[]
 
+==== Authorization
+
+If the {es} {security-features} are enabled, you must have `write`, `monitor`,
+and `manage_follow_index` index privileges for the follower index. You must have
+`read` and `monitor` index privileges for the leader index. You must also have
+`manage_ccr` cluster privileges on the cluster that contains the follower index.
+For more information, see
+{stack-ov}/security-privileges.html[Security privileges].
+
 ==== Example
 
 This example creates a follower index named `follower_index`: