# Unauthorized to indices:admin/settings/update

**URL:** <https://discuss.elastic.co/t/unauthorized-to-indices-admin-settings-update/249987>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-security, ilm-index-lifecycle-management\
**Created:** [September 25, 2020, 2:10pm UTC](https://discuss.elastic.co/t/unauthorized-to-indices-admin-settings-update/249987 "2020-09-25T14:10:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ffknob](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ffknob/32/37008_2.png) [@ffknob](https://discuss.elastic.co/u/ffknob)\
**Post date:** [September 25, 2020, 2:10pm UTC](https://discuss.elastic.co/t/unauthorized-to-indices-admin-settings-update/249987/1 "2020-09-25T14:10:14Z")

</div>

Hello

do you know what privilege I have to include in a role in order for this user to be able to execute that action?

```auto
[2020-09-24T19:47:08,114][ERROR][o.e.x.i.IndexLifecycleRunner] [node01] policy [apm-rollover-30-days] for index [apm-7.8.0-transaction-000001] failed on step [{"phase":"hot","action":"set_priority","name":"set_priority"}]. Moving to ERROR step
org.elasticsearch.ElasticsearchSecurityException: action [indices:admin/settings/update] is unauthorized for user [monitoramento]

```

This user currently have all roles/privileges as described in the \*beat documentation:

 ![Bildschirmfoto vom 2020-09-25 11-08-22](https://us1.discourse-cdn.com/elastic/original/3X/9/a/9a4a630e76d2a7daec7159cf2db21340b85e8b80.png)

Other than that I've granted a custom role in order to try to solve this. Currently this role has the following privileges:

 ![Bildschirmfoto vom 2020-09-25 11-10-28](https://us1.discourse-cdn.com/elastic/original/3X/9/b/9bada3817b947895c6b05af8c248927ff34912f2.png)

Thank you

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [October 23, 2020, 2:10pm UTC](https://discuss.elastic.co/t/unauthorized-to-indices-admin-settings-update/249987/2 "2020-10-23T14:10:17Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
