# Kibana Dashboard Only User along with customized viewer role getting 403 forbidden error post login

**URL:** <https://discuss.elastic.co/t/kibana-dashboard-only-user-along-with-customized-viewer-role-getting-403-forbidden-error-post-login/248724>\
**Category:** Kibana\
**Created:** [September 15, 2020, 6:32pm UTC](https://discuss.elastic.co/t/kibana-dashboard-only-user-along-with-customized-viewer-role-getting-403-forbidden-error-post-login/248724 "2020-09-15T18:32:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ashutosh.pandey](https://avatars.discourse-cdn.com/v4/letter/a/45deac/32.png) [@ashutosh.pandey](https://discuss.elastic.co/u/ashutosh.pandey)\
**Post date:** [September 15, 2020, 6:32pm UTC](https://discuss.elastic.co/t/kibana-dashboard-only-user-along-with-customized-viewer-role-getting-403-forbidden-error-post-login/248724/1 "2020-09-15T18:32:25Z")

</div>

I had created a kibana\_dashboard\_only\_user with index specific access and spaces specific access read permissions specified in a custom role called viewer , it was working so far but now stopped working due to unknown reason , i am getting {"statusCode":403,"error":"Forbidden","message":"Forbidden"}

, I tried to elevate the rights to user by adding more roles , like kibana\_user  
kibana\_system  
data\_frame\_transforms\_user  
monitoring\_user  
reporting\_user  
snapshot\_user

but that also not made it working , still getting same error.

in Logs i got this information but i could not figure out anything out from it:-

{"type":"response","@timestamp":"2020-09-15T14:22:34Z","tags":,"pid":1,"method":"get","statusCode":403,"req":{"url":"/","method":"get","headers":{"host":"[avts-staging.my.aws.pvt.com](http://avts-staging.my.aws.pvt.com)","x-request-id":"141fb63f65021af5xx10faab0cef189f","x-real-ip":"37.201.226.5","x-forwarded-for":"37.201.226.5","x-forwarded-host":"[avts-staging.my.aws.pvt.com](http://avts-staging.my.aws.pvt.com)","x-forwarded-port":"443","x-forwarded-proto":"https","x-scheme":"https","sec-ch-ua":""\\Not;A\"Brand";v="99", "Google Chrome";v="85", "Chromium";v="85"","sec-ch-ua-mobile":"?0","upgrade-insecure-requests":"1","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.10 Safari/537.36","accept":"text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,_/_;q=0.8,application/signed-exchange;v=b3;q=0.9","sec-fetch-site":"same-origin","sec-fetch-mode":"navigate","sec-fetch-user":"?1","sec-fetch-dest":"document","referer":"[https://avts-staging.my.aws.pvt.com/login?next=%2F","accept-encoding":"gzip](https://avts-staging.my.aws.pvt.com/login?next=%2F%22,%22accept-encoding%22:%22gzip), deflate, br","accept-language":"en-US,en;q=0.9"},"remoteAddress":"192.168.64.14","userAgent":"192.168.64.14","referer":"[https://avts-staging.my.aws.pvt.com/login?next=%2F"},"res":{"statusCode":403,"responseTime":36,"contentLength":9},"message":"GET](https://avts-staging.my.aws.pvt.com/login?next=%2F%22%7D,%22res%22:%7B%22statusCode%22:403,%22responseTime%22:36,%22contentLength%22:9%7D,%22message%22:%22GET) / 403 36ms - 9.0B"}

However Superusers and Admin user which is elasticuser admin are able to access normally. Only custom users are affected with read or restricted permission ,this issue has made Kibana Tool Assessment work stopped. Looking out for some help here. Thanks in Advance!

---

<div class="post-metadata">

**Author:** ![pankaj0172](https://avatars.discourse-cdn.com/v4/letter/p/58f4c7/32.png) [@pankaj0172](https://discuss.elastic.co/u/pankaj0172)\
**Post date:** [September 16, 2020, 4:39pm UTC](https://discuss.elastic.co/t/kibana-dashboard-only-user-along-with-customized-viewer-role-getting-403-forbidden-error-post-login/248724/2 "2020-09-16T16:39:35Z")

</div>

Hi Ashutosh, What exactly you want to achieve? If you want to give read only dashboard access to new user, Please follow below link, hope it will help you.

> [@Remove everything except Kibana dashboard while read only access to user](https://discuss.elastic.co/t/remove-everything-except-kibana-dashboard-while-read-only-access-to-user/248770/9):
>
> Sure, Anyway thanks for your help. really appreciated.

---

<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:** [October 14, 2020, 4:39pm UTC](https://discuss.elastic.co/t/kibana-dashboard-only-user-along-with-customized-viewer-role-getting-403-forbidden-error-post-login/248724/3 "2020-10-14T16:39:36Z")

</div>

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