# How to restrict user to access only Kibana dashboard

**URL:** https://discuss.elastic.co/t/how-to-restrict-user-to-access-only-kibana-dashboard/137945
**Category:** Elasticsearch
**Created:** [June 29, 2018, 11:15am UTC](https://discuss.elastic.co/t/how-to-restrict-user-to-access-only-kibana-dashboard/137945 "2018-06-29T11:15:02Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Sudharshan\_Katha](https://avatars.discourse-cdn.com/v4/letter/s/eada6e/32.png) [@Sudharshan\_Katha](https://discuss.elastic.co/u/Sudharshan_Katha)
#### Post date: [June 29, 2018, 11:15am UTC](https://discuss.elastic.co/t/how-to-restrict-user-to-access-only-kibana-dashboard/137945/1 "2018-06-29T11:15:03Z")

</div>

Created a user with "kibana\_dashboard\_only\_user" role even though the user has admin level access and used x-path basic license.

Thanks

---

<div class="post-metadata">

### Author: ![lnxjenn](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lnxjenn/32/32816_2.png) [@lnxjenn](https://discuss.elastic.co/u/lnxjenn)
#### Post date: [June 29, 2018, 11:28am UTC](https://discuss.elastic.co/t/how-to-restrict-user-to-access-only-kibana-dashboard/137945/2 "2018-06-29T11:28:27Z")

</div>

What is your question?

If you want to restrict a user, I wouldn't give them admin level access. You should be able to edit that user and only apply the proper roles to that user, and remove admin access.

---

<div class="post-metadata">

### Author: ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)
#### Post date: [June 29, 2018, 11:36am UTC](https://discuss.elastic.co/t/how-to-restrict-user-to-access-only-kibana-dashboard/137945/3 "2018-06-29T11:36:01Z")

</div>

Also note that security is not part of xpack basic.

---

<div class="post-metadata">

### Author: ![Sudharshan\_Katha](https://avatars.discourse-cdn.com/v4/letter/s/eada6e/32.png) [@Sudharshan\_Katha](https://discuss.elastic.co/u/Sudharshan_Katha)
#### Post date: [June 29, 2018, 11:53am UTC](https://discuss.elastic.co/t/how-to-restrict-user-to-access-only-kibana-dashboard/137945/4 "2018-06-29T11:53:09Z")

</div>

> [@lnxjenn](#):
>
> ou should be able to edit that use

Hi,

Thanks for the reply

I have created a user and that user should access only dashboards. For this, added 'kibana\_dashboard\_only\_user' role. When logged into Kibana with the created user, I could see that user able to see all tabs like Discovery, visualization, management etc.

Thanks

---

<div class="post-metadata">

### Author: ![Sudharshan\_Katha](https://avatars.discourse-cdn.com/v4/letter/s/eada6e/32.png) [@Sudharshan\_Katha](https://discuss.elastic.co/u/Sudharshan_Katha)
#### Post date: [June 29, 2018, 11:54am UTC](https://discuss.elastic.co/t/how-to-restrict-user-to-access-only-kibana-dashboard/137945/5 "2018-06-29T11:54:43Z")

</div>

Thanks David. Do we have any limitations with basic xpack?

---

<div class="post-metadata">

### Author: ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)
#### Post date: [June 29, 2018, 1:00pm UTC](https://discuss.elastic.co/t/how-to-restrict-user-to-access-only-kibana-dashboard/137945/6 "2018-06-29T13:00:37Z")

</div>

See the [full list](https://www.elastic.co/subscriptions).

The default distribution of Elasticsearch includes all of X-Pack, but the default license is "basic" which does not include security.

You can activate a free trial of the commercial features via Kibana (Management -\> License) or via [the API](https://www.elastic.co/guide/en/elastic-stack-overview/6.3/license-management.html).

---

<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 27, 2018, 1:00pm UTC](https://discuss.elastic.co/t/how-to-restrict-user-to-access-only-kibana-dashboard/137945/7 "2018-07-27T13:00:37Z")

</div>

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