Added to Controller files
public $requiredPermissions = [ 'nvandendriesdev.planning.afspraak' ];
Added to Plugin.php
public function registerPermissions() {
return [
'nvandendriesdev.planning.afspraak' => [
'tab' => 'OmitCentral Toolkit',
'label' => 'Afspraak',
],
];
}
Added to plugin.yaml
permissions:
nvandendriesdev.planning.afspraak:
tab: 'OmitCentral Toolkit'
label: 'Afspraken'
But unfortunately I don’t get the rights with my test account that I added the roll.
Can someone push me in the right direction?