add route auth permissions

pull/1/head
Jerome De Almeida 2016-04-20 16:06:58 +02:00
parent 03d2cad0c0
commit 6bff70e826
1 changed files with 4 additions and 0 deletions

View File

@ -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',
),
)