getkirby / kirby

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

[Regression] Permissions access #3468

Closed vauvarin closed 3 years ago

vauvarin commented 3 years ago

Describe the bug
Permissions access set to false in a custom user blueprint did not disabled/faded corresponding items in the panel menu

To Reproduce Create a custom user blueprint Set some access option to false

/blueprint/users/test.yml:

title: user test

permissions:
 access:
   panel: true
   site: true
   users: false
   settings: false

Expected behavior
Items menu (users and settings in this example) should be disabled (not clickable) and faded.

Kirby Version
3.5.6 and 3.5.7 rc1

Desktop (please complete the following information):

afbora commented 3 years ago

I've tested on 3.5.7 and 3.6.0-alpha.1. As your said, doesn't working in 3.5.6 and 3.5.7 (it's regression because of was working 3.4.x) but fixed in 3.6.0-alpha.1 ✅