# Bug \[panel\] - Kirby 3.4.2 - changeRole

**URL:** <https://forum.getkirby.com/t/bug-panel-kirby-3-4-2-changerole/19215>\
**Category:** Questions\
**Tags:** v3\
**Created:** [August 31, 2020, 5:37pm UTC](https://forum.getkirby.com/t/bug-panel-kirby-3-4-2-changerole/19215 "2020-08-31T17:37:06Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![gillesvauvarin](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/gillesvauvarin/32/2351_2.png) [@gillesvauvarin](https://forum.getkirby.com/u/gillesvauvarin)\
**Post date:** [August 31, 2020, 5:37pm UTC](https://forum.getkirby.com/t/bug-panel-kirby-3-4-2-changerole/19215/1 "2020-08-31T17:37:06Z")

</div>

Hello,

When I update my website with Kirby 3.4.2, the user role option is disabled in the panel yet my blueprints setting says users \> changeRole: true.

If I rollback with the previous Kirby version, I can change the role in the panel.

My blueprint:

```
title: Manager
description: The manager can administrate all partnerships
permissions:
  access:
    panel: true
    site: true
    settings: true
    users: true
    backups: true
  pages:
    create: true
    changeTemplate: true
    changeTitle: true
    changeStatus: true
    changeSlug: true
    duplicate: true
    delete: true
    hide: true
    sort: true
    update: true
    preview: true
  user:
    create: true
    changeName: true
    changeEmail: true
    changePassword: true
    changeRole: true
    delete: true
    update: true
  users:
    create: true
    changeEmail: true
    changeLanguage: true
    changeName: true
    changePassword: true
    changeRole: true
    delete: true
    update: true

```

Can you reproduce this issue, is it a bug ?

Thxs

---

<div class="post-metadata">

**Author:** ![anon77445132](https://avatars.discourse-cdn.com/v4/letter/a/4da419/32.png) [@anon77445132](https://forum.getkirby.com/u/anon77445132)\
**Post date:** [August 31, 2020, 6:15pm UTC](https://forum.getkirby.com/t/bug-panel-kirby-3-4-2-changerole/19215/2 "2020-08-31T18:15:09Z")

</div>

Did you check your website with [https://github.com/getkirby/kirby/releases/download/3.4.0/hook-migration-checker.zip](https://github.com/getkirby/kirby/releases/download/3.4.0/hook-migration-checker.zip) ?

For details please look at the 3.4.0 release infos…

---

<div class="post-metadata">

**Author:** ![gillesvauvarin](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/gillesvauvarin/32/2351_2.png) [@gillesvauvarin](https://forum.getkirby.com/u/gillesvauvarin)\
**Post date:** [August 31, 2020, 7:07pm UTC](https://forum.getkirby.com/t/bug-panel-kirby-3-4-2-changerole/19215/3 "2020-08-31T19:07:42Z")

</div>

Yes I did it and fixed the warning !

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [August 31, 2020, 7:12pm UTC](https://forum.getkirby.com/t/bug-panel-kirby-3-4-2-changerole/19215/5 "2020-08-31T19:12:07Z")

</div>

Do you have any other roles, apart from admin?

---

<div class="post-metadata">

**Author:** ![ahmetbora](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/ahmetbora/32/11671_2.png) [@ahmetbora](https://forum.getkirby.com/u/ahmetbora)\
**Post date:** [August 31, 2020, 7:12pm UTC](https://forum.getkirby.com/t/bug-panel-kirby-3-4-2-changerole/19215/6 "2020-08-31T19:12:36Z")

</div>

This is known case after 3.4.0 release.

You can see this [in the comments](https://github.com/getkirby/kirby/pull/2392#issuecomment-573636378) and it was planned to be developed in the next releases.

---

<div class="post-metadata">

**Author:** ![gillesvauvarin](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/gillesvauvarin/32/2351_2.png) [@gillesvauvarin](https://forum.getkirby.com/u/gillesvauvarin)\
**Post date:** [August 31, 2020, 7:14pm UTC](https://forum.getkirby.com/t/bug-panel-kirby-3-4-2-changerole/19215/7 "2020-08-31T19:14:09Z")

</div>

I use PHP 7.3 and 7.4  
Sonja, yes I set several roles in my application.

---

<div class="post-metadata">

**Author:** ![gillesvauvarin](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/gillesvauvarin/32/2351_2.png) [@gillesvauvarin](https://forum.getkirby.com/u/gillesvauvarin)\
**Post date:** [August 31, 2020, 7:19pm UTC](https://forum.getkirby.com/t/bug-panel-kirby-3-4-2-changerole/19215/8 "2020-08-31T19:19:25Z")

</div>

@ahmetbora Mhmm yes, seems the same bugs

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [August 31, 2020, 7:21pm UTC](https://forum.getkirby.com/t/bug-panel-kirby-3-4-2-changerole/19215/9 "2020-08-31T19:21:30Z")

</div>

It’s probably more a feature then a bug, with a detailed setting for users to change other peoples roles missing at the moment. See my comment in that thread.

---

<div class="post-metadata">

**Author:** ![gillesvauvarin](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/gillesvauvarin/32/2351_2.png) [@gillesvauvarin](https://forum.getkirby.com/u/gillesvauvarin)\
**Post date:** [August 31, 2020, 7:26pm UTC](https://forum.getkirby.com/t/bug-panel-kirby-3-4-2-changerole/19215/10 "2020-08-31T19:26:56Z")

</div>

But why did it work with my previous Kirby version?

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [August 31, 2020, 7:29pm UTC](https://forum.getkirby.com/t/bug-panel-kirby-3-4-2-changerole/19215/11 "2020-08-31T19:29:37Z")

</div>

> [@gillesvauvarin](#):
>
> But why did it work with my previous Kirby version?

> I decided to merge this as a first step for 3.4 and then later we can improve this further.

Did you update from 3.4 or 3.3.6?

---

<div class="post-metadata">

**Author:** ![gillesvauvarin](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/gillesvauvarin/32/2351_2.png) [@gillesvauvarin](https://forum.getkirby.com/u/gillesvauvarin)\
**Post date:** [August 31, 2020, 7:33pm UTC](https://forum.getkirby.com/t/bug-panel-kirby-3-4-2-changerole/19215/12 "2020-08-31T19:33:25Z")

</div>

from 3.3.5

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [August 31, 2020, 7:34pm UTC](https://forum.getkirby.com/t/bug-panel-kirby-3-4-2-changerole/19215/13 "2020-08-31T19:34:13Z")

</div>

That would explain it then, because this (security) feature (or whatever you want to call it) was obviously introduced in 3.4.

---

<div class="post-metadata">

**Author:** ![gillesvauvarin](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/gillesvauvarin/32/2351_2.png) [@gillesvauvarin](https://forum.getkirby.com/u/gillesvauvarin)\
**Post date:** [August 31, 2020, 7:37pm UTC](https://forum.getkirby.com/t/bug-panel-kirby-3-4-2-changerole/19215/14 "2020-08-31T19:37:28Z")

</div>

Ok thanks, understood. So we will maybe have a solution in a future version.

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [August 31, 2020, 7:39pm UTC](https://forum.getkirby.com/t/bug-panel-kirby-3-4-2-changerole/19215/15 "2020-08-31T19:39:31Z")

</div>

If you absolutely need this to work, you probably have to stick with 3.3.5/3.3.6 at the moment.

---

<div class="post-metadata">

**Author:** ![Steven\_Chinman](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/steven_chinman/32/8200_2.png) [@Steven\_Chinman](https://forum.getkirby.com/u/Steven_Chinman)\
**Post date:** [February 1, 2021, 11:39pm UTC](https://forum.getkirby.com/t/bug-panel-kirby-3-4-2-changerole/19215/16 "2021-02-01T23:39:44Z")

</div>

Hello. We are not able to update to the latest 3.5 version at this stage, and we are going live with the latest 3.4. version. Is there not some sort of patch that can be applied to 3.4. to get the roles working. We have 4 types of users and not being able to add their role has a major impact to how our site works.

---

<div class="post-metadata">

**Author:** ![Steven\_Chinman](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/steven_chinman/32/8200_2.png) [@Steven\_Chinman](https://forum.getkirby.com/u/Steven_Chinman)\
**Post date:** [February 2, 2021, 1:20am UTC](https://forum.getkirby.com/t/bug-panel-kirby-3-4-2-changerole/19215/17 "2021-02-02T01:20:27Z")

</div>

To answer my own question, we renamed the admin user role and and without that role we lost access to changeRoles. With us reverting back to the admin role, this is resolved.

---

<div class="post-metadata">

**Author:** ![HYR](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/hyr/32/12830_2.png) [@HYR](https://forum.getkirby.com/u/HYR)\
**Post date:** [January 24, 2023, 11:20pm UTC](https://forum.getkirby.com/t/bug-panel-kirby-3-4-2-changerole/19215/18 "2023-01-24T23:20:48Z")

</div>

I’m having trouble with this issue on Kirby 3.9. Is this issue still unresolved?

 ![CleanShot 2023-01-24 at 16.18.21@2x](https://europe1.discourse-cdn.com/flex017/uploads/getkirby/original/2X/3/387a77bad87f88873fa6ad9b9ef694cab590685f.png)

 ![CleanShot 2023-01-24 at 16.23.14@2x](https://europe1.discourse-cdn.com/flex017/uploads/getkirby/original/2X/9/9cbd9527812facf3b7475974594e18302dcee383.png)

---

<div class="post-metadata">

**Author:** ![HYR](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/hyr/32/12830_2.png) [@HYR](https://forum.getkirby.com/u/HYR)\
**Post date:** [February 2, 2023, 1:00pm UTC](https://forum.getkirby.com/t/bug-panel-kirby-3-4-2-changerole/19215/19 "2023-02-02T13:00:32Z")

</div>

@texnixe Are you able to reproduce this issue? I’m not sure what I’m missing.

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [February 2, 2023, 8:51pm UTC](https://forum.getkirby.com/t/bug-panel-kirby-3-4-2-changerole/19215/20 "2023-02-02T20:51:42Z")

</div>

> [@HYR](#):
>
> Are you able to reproduce this issue?

Yes! don’t know why, as a user with say a role editor, when I create a new user, I can select a role (other than admin), but cannot change neither my own role nor that of the other user I created. Doesn’t seem logical. But also not so easy to solve, without being able to define what role a given role is allowed to create.
