From 39f44471e4f49ae097df1046520c243359a1104c Mon Sep 17 00:00:00 2001 From: mokaddem Date: Mon, 28 Jun 2021 11:35:31 +0200 Subject: [PATCH] chg: [ACLComponent] Moved DB migration to administration tab --- src/Controller/Component/ACLComponent.php | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/src/Controller/Component/ACLComponent.php b/src/Controller/Component/ACLComponent.php index 4c77192..8367536 100644 --- a/src/Controller/Component/ACLComponent.php +++ b/src/Controller/Component/ACLComponent.php @@ -760,7 +760,17 @@ class ACLComponent extends Component 'skipTopMenu' => 1 ] ] - ] + ], + 'Instance' => [ + __('Instance'), + 'url' => '/instance/home', + 'children' => [ + 'migration' => [ + 'url' => '/instance/migrationIndex', + 'label' => __('Database migration') + ] + ] + ], ], 'Cerebrate' => [ 'Roles' => [ @@ -794,10 +804,6 @@ class ACLComponent extends Component 'url' => '/instance/home', 'label' => __('Home') ], - 'migration' => [ - 'url' => '/instance/migrationIndex', - 'label' => __('Database migration') - ] ] ], 'Users' => [