mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-09 04:52:42 +00:00
Fix more coding standards issues.
This commit is contained in:
parent
fab9547ac9
commit
1e403c6a7f
37 changed files with 133 additions and 96 deletions
|
@ -53,16 +53,16 @@ $config['roles'] = array(
|
|||
// Rules
|
||||
//-------------------------------------
|
||||
$config['rules']['allow'] = array(
|
||||
'/*' => 'Role/admin',
|
||||
'/controllers/*/manager_*' => 'Role/manager',
|
||||
'/controllers/reports/*' => 'Role/sales',
|
||||
'/controllers/invoices/*' => 'Role/accounting',
|
||||
'/controllers/invoices/edit'=> 'User/db_manager_2',
|
||||
'/controllers/db/*' => 'Role/database_manager',
|
||||
'/controllers/*/(add|edit|publish)' => 'User/stan',
|
||||
'/*' => 'Role/admin',
|
||||
'/controllers/*/manager_*' => 'Role/manager',
|
||||
'/controllers/reports/*' => 'Role/sales',
|
||||
'/controllers/invoices/*' => 'Role/accounting',
|
||||
'/controllers/invoices/edit' => 'User/db_manager_2',
|
||||
'/controllers/db/*' => 'Role/database_manager',
|
||||
'/controllers/*/(add|edit|publish)' => 'User/stan',
|
||||
'/controllers/users/dashboard' => 'Role/default',
|
||||
// test for case insensitivity
|
||||
'controllers/Forms/NEW' => 'Role/data_acquirer',
|
||||
'controllers/Forms/NEW' => 'Role/data_acquirer',
|
||||
);
|
||||
$config['rules']['deny'] = array(
|
||||
// accountants and sales should not delete anything
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue