From c16f0485eec0641181161a9ce137a018eac3c6ab Mon Sep 17 00:00:00 2001 From: Li Jianxuan Date: Mon, 22 Oct 2012 08:31:49 +0000 Subject: [PATCH] =?UTF-8?q?=E4=B8=BA=E9=BB=91=E6=B2=B3=E8=AE=A1=E5=88=92?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E6=95=B4=E7=90=86=E6=9C=8D=E5=8A=A1=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E6=95=B0=E6=8D=AE=E6=B1=87=E4=BA=A4=E9=83=A8=E5=88=86?= =?UTF-8?q?=E7=9A=84=E6=9D=83=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/models/CustomControllerAclManager.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/application/models/CustomControllerAclManager.php b/application/models/CustomControllerAclManager.php index fc37c333..4a957fd7 100755 --- a/application/models/CustomControllerAclManager.php +++ b/application/models/CustomControllerAclManager.php @@ -23,6 +23,7 @@ $this->acl->add(new Zend_Acl_Resource('admin')); $this->acl->add(new Zend_Acl_Resource('upload')); $this->acl->add(new Zend_Acl_Resource('author')); + $this->acl->add(new Zend_Acl_Resource('heihe')); // allow access to everything for all users by default // except for the account management and administration areas $this->acl->allow(); @@ -37,7 +38,7 @@ 'registercomplete')); $this->acl->deny('guest','data',array('download','order')); $this->acl->deny('guest','water',array('download','order')); - + $this->acl->deny('guest','heihe',array('submit')); // allow members access to the account management area $this->acl->allow('guest','author',array('index')); $this->acl->allow('member', 'account');