Skip to content
This repository has been archived by the owner on Nov 20, 2022. It is now read-only.

Permission name for the widget is panel.widget.widget #5

Closed
samuba opened this issue Feb 21, 2018 · 0 comments
Closed

Permission name for the widget is panel.widget.widget #5

samuba opened this issue Feb 21, 2018 · 0 comments
Labels

Comments

@samuba
Copy link
Contributor

samuba commented Feb 21, 2018

If you have in your Kirby Role the wildcard permission set to false ('*' => false) you have to set the permission for this widget explicitly.
Unfortunately that would look like this at the moment: 'panel.widget.widget' => true
Which is pretty nasty because you dont know what widget that actually is and you get serious problems if another widget you use did the same mistake.

For reference and context, here is the discussion I had with texnixe on the topic:
https://forum.getkirby.com/t/widgets-are-auto-hidden-when-permission-is-false/9758

samuba added a commit to samuba/content-viewer that referenced this issue Feb 21, 2018
@calebgrove calebgrove added the bug label Feb 21, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants