为黑河计划数据整理服务添加数据汇交部分的权限

This commit is contained in:
Li Jianxuan 2012-10-22 08:31:49 +00:00
parent 003cc60a30
commit c16f0485ee
1 changed files with 2 additions and 1 deletions

View File

@ -23,6 +23,7 @@
$this->acl->add(new Zend_Acl_Resource('admin')); $this->acl->add(new Zend_Acl_Resource('admin'));
$this->acl->add(new Zend_Acl_Resource('upload')); $this->acl->add(new Zend_Acl_Resource('upload'));
$this->acl->add(new Zend_Acl_Resource('author')); $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 // allow access to everything for all users by default
// except for the account management and administration areas // except for the account management and administration areas
$this->acl->allow(); $this->acl->allow();
@ -37,7 +38,7 @@
'registercomplete')); 'registercomplete'));
$this->acl->deny('guest','data',array('download','order')); $this->acl->deny('guest','data',array('download','order'));
$this->acl->deny('guest','water',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 // allow members access to the account management area
$this->acl->allow('guest','author',array('index')); $this->acl->allow('guest','author',array('index'));
$this->acl->allow('member', 'account'); $this->acl->allow('member', 'account');