summaryrefslogtreecommitdiff
path: root/protected/controllers
diff options
context:
space:
mode:
Diffstat (limited to 'protected/controllers')
-rw-r--r--protected/controllers/SpeisTrankController.php5
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('*'),
),
);