# Alter Index so every user can see it

**URL:** <https://discuss.elastic.co/t/alter-index-so-every-user-can-see-it/343537>\
**Category:** Elasticsearch\
**Created:** [September 21, 2023, 12:15pm UTC](https://discuss.elastic.co/t/alter-index-so-every-user-can-see-it/343537 "2023-09-21T12:15:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![yogobah921](https://avatars.discourse-cdn.com/v4/letter/y/bbe5ce/32.png) [@yogobah921](https://discuss.elastic.co/u/yogobah921)\
**Post date:** [September 21, 2023, 12:15pm UTC](https://discuss.elastic.co/t/alter-index-so-every-user-can-see-it/343537/1 "2023-09-21T12:15:58Z")

</div>

I have multiple accounts with different roles and now I created a new index.  
Now the roles can't access the new index because it is not listed in their indices configuration.  
how can I alter the index so every user can access the index regardless of their configuration?

```auto
indices configuration example
  "indices": [
    {
      "names": ["old_index"],
      "privileges": ["read"]
    }

```

---

<div class="post-metadata">

**Author:** ![TimV](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timv/32/13162_2.png) [@TimV](https://discuss.elastic.co/u/TimV)\
**Post date:** [September 23, 2023, 12:11am UTC](https://discuss.elastic.co/t/alter-index-so-every-user-can-see-it/343537/2 "2023-09-23T00:11:33Z")

</div>

You cannot. Elasticsearch uses a role based security model, so all permissions are attached to roles, not indices. There is nothing you can do to an inde, to make it accessible, you need to change the roles.

---

<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 21, 2023, 12:12am UTC](https://discuss.elastic.co/t/alter-index-so-every-user-can-see-it/343537/3 "2023-10-21T00:12:07Z")

</div>

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