Skip to content

Commit 0d3a486

Browse files
authored
[DOCS] Note ILM uses snapshot of user privileges (#67393) (#67401)
1 parent 46287e5 commit 0d3a486

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

docs/reference/ilm/apis/put-lifecycle.asciidoc

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,10 @@ definitions of policy components.
1919

2020
* If the {es} {security-features} are enabled, you must have the `manage_ilm`
2121
cluster privilege to use this API. You must also have the `manage` index
22-
privilege on all indices being managed by `policy`. All operations executed by
23-
{ilm} for a policy are executed as the user that put the latest version of a
24-
policy. For more information, see <<security-privileges>>.
22+
privilege on all indices being managed by `policy`. {ilm-init} performs
23+
operations as the user who last updated the policy. {ilm-init} only has the
24+
<<security-privileges,privileges>> assigned to the user at the time of the
25+
last policy update.
2526

2627
[[ilm-put-lifecycle-desc]]
2728
==== {api-description-title}

docs/reference/ilm/ilm-index-lifecycle.asciidoc

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,18 @@ slower.
1717

1818
An index's _lifecycle policy_ specifies which phases
1919
are applicable, what actions are performed in each phase,
20-
and when it transitions between phases.
20+
and when it transitions between phases.
2121

2222
You can manually apply a lifecycle policy when you create an index.
2323
For time series indices, you need to associate the lifecycle policy with
2424
the index template used to create new indices in the series.
2525
When an index rolls over, a manually-applied policy isn't automatically applied to the new index.
2626

27+
If you use {es}'s Security features, {ilm-init} performs operations as the user
28+
who last updated the policy. {ilm-init} only has the
29+
<<security-privileges,privileges>> assigned to the user at the time of the
30+
last policy update.
31+
2732
[discrete]
2833
[[ilm-phase-transitions]]
2934
=== Phase transitions

0 commit comments

Comments
 (0)