getkirby / kirby

Kirby's core application folder
https://getkirby.com
Other
1.31k stars 168 forks source link

changeRole permission to true as no effect for non admin user #6372

Closed vauvarin closed 7 months ago

vauvarin commented 7 months ago

Description

If I set the changeRole permission to true for a non admin user in the non admin user blueprint, the non admin user can't change its role.

Expected behavior
changeRole permission set to true for a non admin user allow him/her to change its own role.

Screenshots
Your_account_Site_Title Capture d’écran du 2024-03-26 15-00-28

Your setup

Kirby 4.1.2 PHP 8.3.4

Your system (please complete the following information)

Plainkit example (available 1 month from now) https://www.swisstransfer.com/d/df8960ac-4e1a-43d9-91a8-8d54d445e553

afbora commented 7 months ago

Duplicated of https://github.com/getkirby/kirby/issues/5146