Skip to content

Commit

Permalink
Fixed acces control
Browse files Browse the repository at this point in the history
  • Loading branch information
uldisn committed Apr 14, 2015
1 parent 45d043c commit 5809e24
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions controllers/AdminController.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ public function accessRules()
{
return array(
array('allow', // allow admin user to view other users
//'actions'=>array('admin','delete','create','update','view'),
'actions'=>array('admin','view','customerAdmin'),
'actions'=>array('admin','view','customerAdmin','viewCustomer','editableSaver'),
'users'=>UserModule::getAdmins(),
),
array('allow', // for UserAdmin
Expand Down

0 comments on commit 5809e24

Please sign in to comment.