diff options
| author | Patrick Seeger <pseeger@ccwn.org> | 2012-05-11 10:18:31 +0200 |
|---|---|---|
| committer | Patrick Seeger <pseeger@ccwn.org> | 2012-05-11 10:18:31 +0200 |
| commit | a6cd00ec233d1c7676d75224900ed1543130ac94 (patch) | |
| tree | 94f25ab6433d3a729e004dbc2610e3f7b7c69cc2 /protected/controllers | |
| parent | 5b39d6bf7f34ed52059410f3d0af3799aeff2113 (diff) | |
diverse anzeigen und experimente
Diffstat (limited to 'protected/controllers')
| -rw-r--r-- | protected/controllers/SpeisTrankController.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/protected/controllers/SpeisTrankController.php b/protected/controllers/SpeisTrankController.php index 1da7883..2ba08a7 100644 --- a/protected/controllers/SpeisTrankController.php +++ b/protected/controllers/SpeisTrankController.php @@ -27,10 +27,11 @@ class SpeisTrankController extends Controller { return array( array('allow', // allow admin user to perform 'admin' and 'delete' actions - 'actions'=>array('create','index','delete','update','view'), - 'users'=>array('admin'), + 'actions'=>array('index','view'), + 'users'=>array('*'), ), array('deny', // deny all users + 'actions' =>array('create','delete','update'), 'users'=>array('*'), ), ); |
