# "Forbidden"-Error when accessing User Management

**URL:** <https://forum.keycloak.org/t/forbidden-error-when-accessing-user-management/8041>\
**Category:** Configuring the server\
**Tags:** admin-console\
**Created:** [March 19, 2021, 9:57am UTC](https://forum.keycloak.org/t/forbidden-error-when-accessing-user-management/8041 "2021-03-19T09:57:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![H2k](https://avatars.discourse-cdn.com/v4/letter/h/e5b9ba/32.png) [@H2k](https://forum.keycloak.org/u/H2k)\
**Post date:** [March 19, 2021, 9:57am UTC](https://forum.keycloak.org/t/forbidden-error-when-accessing-user-management/8041/1 "2021-03-19T09:57:31Z")

</div>

Hello,

we are trying to configure an admin user with just enough rights to manage users in the admin console. Therefore we assigned to him the role realm-management \> manage-users.  
When we try to access the admin console via https://[host]/auth/admin/[realm]/console/#/realms/[realm]/users following error page is displayed:

![image](https://global.discourse-cdn.com/free1/uploads/keycloak/original/2X/c/ccbaf93bc58e02929058602954bcc584187c4515.png)

angular.js:13630 GET https://[host]/auth/admin/realms/[realm]/localization/en 403 (Forbidden)

“Go to the home page”-link leads to the functional admin console.

Thank you in advance for any help.

---

<div class="post-metadata">

**Author:** ![avezhlev](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/avezhlev/32/2695_2.png) [@avezhlev](https://forum.keycloak.org/u/avezhlev)\
**Post date:** [March 25, 2021, 2:54pm UTC](https://forum.keycloak.org/t/forbidden-error-when-accessing-user-management/8041/2 "2021-03-25T14:54:10Z")

</div>

We faced the same issue for master realm users having the minimal required permissions to just manage other realm users. Looks like a bug to me. The problem is resolvable by giving the ‘view-realm’ role to a user but I’d rather not assign additional permissions just to workaround this issue.

---

<div class="post-metadata">

**Author:** ![dagb](https://avatars.discourse-cdn.com/v4/letter/d/9de053/32.png) [@dagb](https://forum.keycloak.org/u/dagb)\
**Post date:** [April 6, 2021, 11:24am UTC](https://forum.keycloak.org/t/forbidden-error-when-accessing-user-management/8041/3 "2021-04-06T11:24:30Z")

</div>

issue is registered [Error while trying to access to admin console when logged user has only manage-users and view-users roles · Issue #249 · keycloak/keycloak-community · GitHub](https://github.com/keycloak/keycloak-community/issues/249)
