# Kibana security roles access control

**URL:** https://discuss.elastic.co/t/kibana-security-roles-access-control/350614
**Category:** Elastic Security
**Created:** [January 8, 2024, 10:21pm UTC](https://discuss.elastic.co/t/kibana-security-roles-access-control/350614 "2024-01-08T22:21:22Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![mst3r25](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mst3r25/32/97109_2.png) [@mst3r25](https://discuss.elastic.co/u/mst3r25)
#### Post date: [January 8, 2024, 10:21pm UTC](https://discuss.elastic.co/t/kibana-security-roles-access-control/350614/1 "2024-01-08T22:21:22Z")

</div>

My ELK stack stop respecting roles and role mapping. Anyone with a vaild cert can access any Space or index even if they don'tt have that role assigned to them. I upgrade to version 8.11.2 from 8.8.1 last month, but I a I am just noticing this now. I am not sure if they are related. I've tried using the dev tools to clear role cache, user cache and no luck. Any have an idea or suggestion of what I can try next?

---

<div class="post-metadata">

### Author: ![jamesspi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jamesspi/32/24479_2.png) [@jamesspi](https://discuss.elastic.co/u/jamesspi)
#### Post date: [January 9, 2024, 5:39pm UTC](https://discuss.elastic.co/t/kibana-security-roles-access-control/350614/2 "2024-01-09T17:39:01Z")

</div>

@mst3r25 , So you're using PKI auth for kibana? Could you share an example of sanitzed example of a role which is not working?

---

<div class="post-metadata">

### Author: ![mst3r25](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mst3r25/32/97109_2.png) [@mst3r25](https://discuss.elastic.co/u/mst3r25)
#### Post date: [January 10, 2024, 8:35am UTC](https://discuss.elastic.co/t/kibana-security-roles-access-control/350614/3 "2024-01-10T08:35:32Z")

</div>

I am using PKI for auth and it was working fine. I'm not sure when and why it stopped. I am in an enclave I will try to get you an example of one of the roles that is not working.

---

<div class="post-metadata">

### Author: ![mst3r25](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mst3r25/32/97109_2.png) [@mst3r25](https://discuss.elastic.co/u/mst3r25)
#### Post date: [January 10, 2024, 10:05pm UTC](https://discuss.elastic.co/t/kibana-security-roles-access-control/350614/4 "2024-01-10T22:05:41Z")

</div>

![elkrole](https://us1.discourse-cdn.com/elastic/original/3X/1/5/15c5c4b2009bebe87f48c204296303d6693eca4f.png)  
Is this what you are asking for?

---

<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: [February 7, 2024, 10:06pm UTC](https://discuss.elastic.co/t/kibana-security-roles-access-control/350614/5 "2024-02-07T22:06:39Z")

</div>

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