From 6bff70e8267aa6d2499b069d5ab1ff173983298c Mon Sep 17 00:00:00 2001 From: Jerome De Almeida Date: Wed, 20 Apr 2016 16:06:58 +0200 Subject: [PATCH] add route auth permissions --- config/autoload/global.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/autoload/global.php b/config/autoload/global.php index c852e63..d3c18e8 100644 --- a/config/autoload/global.php +++ b/config/autoload/global.php @@ -39,17 +39,21 @@ return array( ), 'roles' => array( 'superadmin'=> array( + 'auth', 'monarc_api_admin_users', 'monarc_api_admin_servers', ), 'dbadmin'=> array( + 'auth', 'monarc_api_admin_users', 'monarc_api_admin_servers', ), 'sysadmin'=> array( + 'auth', 'monarc_api_admin_servers', ), 'accadmin'=> array( + 'auth', 'monarc_api_admin_users', ), )