# Security\_exception: action \[indices:admin/rollover\] is unauthorized for user \[\<user\_name\>\]

**URL:** <https://discuss.elastic.co/t/security-exception-action-indices-admin-rollover-is-unauthorized-for-user-user-name/237328>\
**Category:** Elasticsearch\
**Created:** [June 16, 2020, 3:19pm UTC](https://discuss.elastic.co/t/security-exception-action-indices-admin-rollover-is-unauthorized-for-user-user-name/237328 "2020-06-16T15:19:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ryan\_Downey](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ryan_downey/32/35987_2.png) [@Ryan\_Downey](https://discuss.elastic.co/u/Ryan_Downey)\
**Post date:** [June 16, 2020, 3:19pm UTC](https://discuss.elastic.co/t/security-exception-action-indices-admin-rollover-is-unauthorized-for-user-user-name/237328/1 "2020-06-16T15:19:27Z")

</div>

What am I missing in this deployment that's throwing this error? The deployment is 7.7.0 and the user and role information is below.

security\_exception: action [indices:admin/rollover] is unauthorized for user [\<user\_name\>]

User info:

```auto
{
  "data_internal" : {
    "username" : "my_role",
    "roles" : [
      "beats_system",
      "beats_admin",
      "data_writer",
      "kibana_admin"
    ],
    "full_name" : "Primary data connection",
    "email" : "",
    "metadata" : { },
    "enabled" : true
  }
}

```

Role info:

```auto
{
  "my_role" : {
    "cluster" : [
      "monitor",
      "manage_ilm",
      "manage_index_templates"
    ],
    "indices" : [
      {
        "names" : [
          "*"
        ],
        "privileges" : [
          "read",
          "write",
          "create_index",
          "manage_ilm"
        ],
        "field_security" : {
          "grant" : [
            "*"
          ],
          "except" : []
        },
        "allow_restricted_indices" : false
      }
    ],
    "applications" : [],
    "run_as" : [],
    "metadata" : { },
    "transient_metadata" : {
      "enabled" : true
    }
  }
}

```

---

<div class="post-metadata">

**Author:** ![Ryan\_Downey](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ryan_downey/32/35987_2.png) [@Ryan\_Downey](https://discuss.elastic.co/u/Ryan_Downey)\
**Post date:** [June 18, 2020, 5:37pm UTC](https://discuss.elastic.co/t/security-exception-action-indices-admin-rollover-is-unauthorized-for-user-user-name/237328/2 "2020-06-18T17:37:00Z")

</div>

From the information that I was provided it looks like this is a known issue and is documented here: [https://github.com/elastic/elasticsearch/issues/47500](https://github.com/elastic/elasticsearch/issues/47500)  
Workaround is to add "manage" right at the index level for the role.

---

<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 16, 2020, 5:37pm UTC](https://discuss.elastic.co/t/security-exception-action-indices-admin-rollover-is-unauthorized-for-user-user-name/237328/3 "2020-07-16T17:37:05Z")

</div>

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