Hi,
i am currently trying to extend the given permissions of the user blueprints which works at least half the way I added two new actions through a plugin permission extensions. When stepping through the code i can see my extensions being loaded to
Kirby\Cms\Permissions$extendedActions
.
My problem is, that the permission check kirby()->user()->role()->permissions()->for('digireporter.permissions', 'updateListed')
always returns false
as the extendedActions doesn’t seem to be taken into account.
My breakpoint on L99 in Kirby\Cms\Permission
isn’t called by the way which explains why the extendedActions
were not copied to the “normal” actions
but how can i motivate kirby to call the constructor
Any help is greatly appreciated!
Best, Thomas E.-E.