# 8.2 Rule Preview Not Working

**URL:** <https://discuss.elastic.co/t/8-2-rule-preview-not-working/304739>\
**Category:** Kibana\
**Tags:** elastic-stack-alerting\
**Created:** [May 15, 2022, 2:04am UTC](https://discuss.elastic.co/t/8-2-rule-preview-not-working/304739 "2022-05-15T02:04:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bm11100](https://avatars.discourse-cdn.com/v4/letter/b/b3f665/32.png) [@bm11100](https://discuss.elastic.co/u/bm11100)\
**Post date:** [May 15, 2022, 2:04am UTC](https://discuss.elastic.co/t/8-2-rule-preview-not-working/304739/1 "2022-05-15T02:04:21Z")

</div>

We just upgraded to 8.2 and we create different roles for users to allow for certain behavior.

I'm following this guide, and I want to allow users to preview rules but not give them full admin access - [Detections prerequisites and requirements | Elastic Security Solution [8.2] | Elastic](https://www.elastic.co/guide/en/security/current/detections-permissions-section.html)

I've created every single combination of the indices it lists in the documentation, but I am still running into an error. The role includes ALL privs to the Security app. Please see the attached screenshots.

I've also spun up a brand new 8.2 instance in the Cloud and can replicate this behavior.

I'm running into the below error, although the permissions are clearly granted. How can we fix this?

```auto
Missing "read" privileges for the ".preview.alerts-security.alerts" or ".internal.preview.alerts-security.alerts" indices. Without these privileges you cannot use the Rule Preview feature.

```

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/c/5/c539da4164d3901e947d1951bc671edfc7ab836b.png)

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/4/8/482aa0beb29081c0c4df0b1f5b5a1baee7f7df2a.png)

---

<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 12, 2022, 2:05am UTC](https://discuss.elastic.co/t/8-2-rule-preview-not-working/304739/2 "2022-06-12T02:05:16Z")

</div>

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