diff options
| author | ccwn <tzur@ccwn.org> | 2012-04-24 18:49:57 +0200 |
|---|---|---|
| committer | ccwn <tzur@ccwn.org> | 2012-04-24 18:49:57 +0200 |
| commit | c98745edd2c7b2f48bc3493c4dd9a061376c4720 (patch) | |
| tree | ca1b559f220ec28c3f263d02a8b832613493471f /protected/controllers/SpeisTrankController.php | |
| parent | 314328f527e8cae759d496f528a1472d7970c137 (diff) | |
- Database setup
- Database schema
- Database dev data
- config for new database setup
- Update in AngebotVerein
- Update in Speis&Trank
- Update in Verein
- Update in Kategorie
Diffstat (limited to 'protected/controllers/SpeisTrankController.php')
| -rw-r--r-- | protected/controllers/SpeisTrankController.php | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/protected/controllers/SpeisTrankController.php b/protected/controllers/SpeisTrankController.php index 6f0931e..1da7883 100644 --- a/protected/controllers/SpeisTrankController.php +++ b/protected/controllers/SpeisTrankController.php @@ -26,12 +26,8 @@ class SpeisTrankController extends Controller public function accessRules() { return array( - array('allow', // allow authenticated user to perform 'create' and 'update' actions - 'actions'=>array('update','view'), - 'users'=>array('@'), - ), array('allow', // allow admin user to perform 'admin' and 'delete' actions - 'actions'=>array('create','index','delete'), + 'actions'=>array('create','index','delete','update','view'), 'users'=>array('admin'), ), array('deny', // deny all users |
