# Kibana problem with privileges - 7.0 - \[FORBIDDEN/12/index read-only / allow delete (api)\]

**URL:** <https://discuss.elastic.co/t/kibana-problem-with-privileges-7-0-forbidden-12-index-read-only-allow-delete-api/180212>\
**Category:** Kibana\
**Created:** [May 8, 2019, 3:38pm UTC](https://discuss.elastic.co/t/kibana-problem-with-privileges-7-0-forbidden-12-index-read-only-allow-delete-api/180212 "2019-05-08T15:38:39Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Francisca\_Lima](https://avatars.discourse-cdn.com/v4/letter/f/edb3f5/32.png) [@Francisca\_Lima](https://discuss.elastic.co/u/Francisca_Lima)\
**Post date:** [May 8, 2019, 3:38pm UTC](https://discuss.elastic.co/t/kibana-problem-with-privileges-7-0-forbidden-12-index-read-only-allow-delete-api/180212/1 "2019-05-08T15:38:39Z")

</div>

Hello,

I was upgrading from 6.7 to 7.0 and I have this problem on kibana:  
`Error registering Kibana Privileges with Elasticsearch for kibana-.kibanax: [cluster_block_exception] blocked by: [FORBIDDEN/12/index read-only / allow delete (api)];"}`

What can I do?  
I was trying to do "read\_only\_allow\_delete": "false" or "read\_only\_allow\_delete": null, but no success. I still have space in my machine.

I had the xpack installed and with the upgrade this happens.

Thank you.

---

<div class="post-metadata">

**Author:** ![Larry\_Gregory](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/larry_gregory/32/34969_2.png) [@Larry\_Gregory](https://discuss.elastic.co/u/Larry_Gregory)\
**Post date:** [May 9, 2019, 3:49pm UTC](https://discuss.elastic.co/t/kibana-problem-with-privileges-7-0-forbidden-12-index-read-only-allow-delete-api/180212/2 "2019-05-09T15:49:23Z")

</div>

Hey @Francisca_Lima,

Can you post the output of `GET .kibanax/_settings`?

How did you try to set `read_only_allow_delete`? Should be something like:

```auto
PUT .kibanax/_settings
{
  "index": {
    "blocks": {
      "read_only_allow_delete": "false"
    }
  }
}

```

---

<div class="post-metadata">

**Author:** ![Francisca\_Lima](https://avatars.discourse-cdn.com/v4/letter/f/edb3f5/32.png) [@Francisca\_Lima](https://discuss.elastic.co/u/Francisca_Lima)\
**Post date:** [May 9, 2019, 4:16pm UTC](https://discuss.elastic.co/t/kibana-problem-with-privileges-7-0-forbidden-12-index-read-only-allow-delete-api/180212/3 "2019-05-09T16:16:45Z")

</div>

Yes. I think it is a problem of my license of xpack. Because I tried with xpack not enabled and elasticsearch started with no problem. Thank you, I will try to talk with the support team of ELK about my license.

---

<div class="post-metadata">

**Author:** ![demirciozlem](https://avatars.discourse-cdn.com/v4/letter/d/b5e925/32.png) [@demirciozlem](https://discuss.elastic.co/u/demirciozlem)\
**Post date:** [May 24, 2019, 10:53am UTC](https://discuss.elastic.co/t/kibana-problem-with-privileges-7-0-forbidden-12-index-read-only-allow-delete-api/180212/4 "2019-05-24T10:53:39Z")

</div>

Hİ @Larry_Gregory ,  
My license is basic. I have'nt a security section under Management, in Kibana. I tried this, but stiil haven't security section.

```auto
PUT .kibanax/_settings
{
  "index": {
    "blocks": {
      "read_only_allow_delete": "false"
    }
  }
}

```

I am not defining role. How do I enable xpack?  
Kibana version is 7.0.1

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:** [June 21, 2019, 10:53am UTC](https://discuss.elastic.co/t/kibana-problem-with-privileges-7-0-forbidden-12-index-read-only-allow-delete-api/180212/5 "2019-06-21T10:53:40Z")

</div>

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