summaryrefslogtreecommitdiff
path: root/protected/controllers/SpeisTrankController.php
diff options
context:
space:
mode:
authorPatrick Seeger <pseeger@ccwn.org>2012-04-30 10:18:11 +0200
committerPatrick Seeger <pseeger@ccwn.org>2012-04-30 10:18:11 +0200
commitacec2b5dc35302147f9a9c73d837dce2f3f9958e (patch)
tree2f88a3a657a9211331e1e63e056a089189bd0dd2 /protected/controllers/SpeisTrankController.php
parent56593a21209f3ce55fe66d303dbe01b8e081778b (diff)
parent148a216bba21cec1cbe07b60b5191791e0016d6f (diff)
Merge branch 'master' of ssh://proxy.ccwn.org:9044/home/ccwn/git-repos/admin.astaf.de
Diffstat (limited to 'protected/controllers/SpeisTrankController.php')
-rw-r--r--protected/controllers/SpeisTrankController.php6
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