diff --git a/app/src/Controller/Component/RegistryAuthComponent.php b/app/src/Controller/Component/RegistryAuthComponent.php index f68e218eb..5df86abcc 100644 --- a/app/src/Controller/Component/RegistryAuthComponent.php +++ b/app/src/Controller/Component/RegistryAuthComponent.php @@ -334,6 +334,9 @@ protected function calculatePermissions(?int $id=null): array { $ret = []; + // Get the action + $reqAction = $controller->getRequest()->getParam('action'); + // This will need to be prefixed to the model, if set $pluginName = $controller->getPlugin();