# Elastic privilege to create index

**URL:** <https://discuss.elastic.co/t/elastic-privilege-to-create-index/223955>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-security\
**Created:** [March 17, 2020, 2:49pm UTC](https://discuss.elastic.co/t/elastic-privilege-to-create-index/223955 "2020-03-17T14:49:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nicolasSoares](https://avatars.discourse-cdn.com/v4/letter/n/c68b51/32.png) [@nicolasSoares](https://discuss.elastic.co/u/nicolasSoares)\
**Post date:** [March 17, 2020, 2:49pm UTC](https://discuss.elastic.co/t/elastic-privilege-to-create-index/223955/1 "2020-03-17T14:49:44Z")

</div>

Hello,

Is there a role privilege in elasticsearch 7.X giving only new index creation rights?

Also, is there a way to automatically give write and/or read privileges on an index to the user who created it?

---

<div class="post-metadata">

**Author:** ![ikakavas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ikakavas/32/34430_2.png) [@ikakavas](https://discuss.elastic.co/u/ikakavas)\
**Post date:** [March 18, 2020, 7:46am UTC](https://discuss.elastic.co/t/elastic-privilege-to-create-index/223955/2 "2020-03-18T07:46:11Z")

</div>

> [@nicolasSoares](#):
>
> Is there a role privilege in elasticsearch 7.X giving only new index creation rights?

See [`create_index`](https://www.elastic.co/guide/en/elasticsearch/reference/7.6/security-privileges.html#privileges-list-indices) in our docs

---

<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:** [April 15, 2020, 7:46am UTC](https://discuss.elastic.co/t/elastic-privilege-to-create-index/223955/3 "2020-04-15T07:46:11Z")

</div>

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