diff --git a/Configuration/Policy.yaml b/Configuration/Policy.yaml index 762017f..0f3e4a3 100644 --- a/Configuration/Policy.yaml +++ b/Configuration/Policy.yaml @@ -1,8 +1,10 @@ -resources: - methods: - TechDivision_ModuleBase_Controller_Module_TechDivision: 'method(TechDivision\ModuleBase\Controller\Module\TechDivisionController->indexAction())' - -acls: - Everybody: - methods: - TechDivision_ModuleBase_Controller_Module_TechDivision: GRANT +privilegeTargets: + TYPO3\Flow\Security\Authorization\Privilege\Method\MethodPrivilege: + TD_NeosBase_Controller_Module_TechDivision: + matcher: method(TD\NeosBase\Controller\Module\TechDivisionController->indexAction()) +roles: + 'TYPO3.Flow:Everybody': + privileges: + - + privilegeTarget: TD_NeosBase_Controller_Module_TechDivision + permission: GRANT \ No newline at end of file diff --git a/Configuration/Settings.yaml b/Configuration/Settings.yaml index 808c20b..187b898 100644 --- a/Configuration/Settings.yaml +++ b/Configuration/Settings.yaml @@ -1,3 +1,4 @@ + TYPO3: Neos: moduleConfiguration: @@ -7,5 +8,5 @@ TYPO3: label: 'TechDivision' controller: '\TechDivision\ModuleBase\Controller\Module\TechDivisionController' description: 'TechDivision Backend Section' - icon: 'icon-thumbs-up' + icon: 'icon-briefcase' resource: 'TechDivision_ModuleBase_Controller_Module_TechDivision' \ No newline at end of file diff --git a/composer.json b/composer.json index 3b6d55f..303526b 100644 --- a/composer.json +++ b/composer.json @@ -10,7 +10,7 @@ "homepage" : "https://www.techdivision.com" }], "require": { - "typo3/neos": "1.2.*" + "typo3/neos": "2.*" }, "require-dev" : { "phing/phing": "*",