# Only give access to create and manage alias and not update setting/mapping

**URL:** <https://discuss.elastic.co/t/only-give-access-to-create-and-manage-alias-and-not-update-setting-mapping/274868>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-security\
**Created:** [June 3, 2021, 12:29pm UTC](https://discuss.elastic.co/t/only-give-access-to-create-and-manage-alias-and-not-update-setting-mapping/274868 "2021-06-03T12:29:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Divit\_Sharma](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/divit_sharma/32/32348_2.png) [@Divit\_Sharma](https://discuss.elastic.co/u/Divit_Sharma)\
**Post date:** [June 3, 2021, 12:29pm UTC](https://discuss.elastic.co/t/only-give-access-to-create-and-manage-alias-and-not-update-setting-mapping/274868/1 "2021-06-03T12:29:17Z")

</div>

Is it possible to have access create and mange alias only and not other things like template etc which comes with manage role ?

\*\*`create_index** = Privilege to create an index or data stream. A create index request may contain aliases to be added to the index once created. In that case the request requires the `manage` privilege as well, on both the index and the aliases names.`

` **manage** = All monitor privileges plus index and data stream administration (aliases, analyze, cache clear, close, delete, exists, flush, mapping, open, force merge, refresh, settings, search shards, templates, validate).`

In short, I need to create a user which can read,write docs, create indexes and aliases. Also add and remove indexes from aliases.

> **[Security privileges | Elasticsearch Guide \[7.9\] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/7.9/security-privileges.html)**

---

<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:** [July 1, 2021, 12:29pm UTC](https://discuss.elastic.co/t/only-give-access-to-create-and-manage-alias-and-not-update-setting-mapping/274868/2 "2021-07-01T12:29:35Z")

</div>

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