fix some permissions and their formatting
This commit is contained in:
parent
42e9b518d9
commit
e597142266
2 changed files with 30 additions and 28 deletions
|
@ -37,13 +37,14 @@
|
|||
* @var array
|
||||
*/
|
||||
public $permissions = array(
|
||||
'index' => array('admin', 'moderator', 'user'),
|
||||
'create' => array('admin', 'moderator', 'user'),
|
||||
'moveup' => array('admin', 'moderator', 'user'),
|
||||
'movedown' => array('admin', 'moderator', 'user'),
|
||||
'edit' => array('admin', 'moderator', 'user'),
|
||||
'index' => array('admin', 'moderator', 'user'),
|
||||
'create' => array('admin', 'moderator', 'user'),
|
||||
'moveup' => array('admin', 'moderator', 'user'),
|
||||
'movedown' => array('admin', 'moderator', 'user'),
|
||||
'edit' => array('admin', 'moderator', 'user'),
|
||||
'conditions' => array('admin', 'moderator', 'user'),
|
||||
'delete' => array('admin', 'moderator', 'user')
|
||||
'manage' => array('admin', 'moderator', 'user'),
|
||||
'delete' => array('admin', 'moderator', 'user')
|
||||
);
|
||||
/**
|
||||
* User seminary permissions
|
||||
|
@ -51,13 +52,14 @@
|
|||
* @var array
|
||||
*/
|
||||
public $seminaryPermissions = array(
|
||||
'index' => array('admin', 'moderator', 'user'),
|
||||
'create' => array('admin'),
|
||||
'moveup' => array('admin', 'moderator'),
|
||||
'movedown' => array('admin', 'moderator'),
|
||||
'edit' => array('admin', 'moderator'),
|
||||
'index' => array('admin', 'moderator', 'user'),
|
||||
'create' => array('admin'),
|
||||
'moveup' => array('admin', 'moderator'),
|
||||
'movedown' => array('admin', 'moderator'),
|
||||
'edit' => array('admin', 'moderator'),
|
||||
'conditions' => array('admin', 'moderator'),
|
||||
'delete' => array('admin')
|
||||
'manage' => array('admin', 'moderator'),
|
||||
'delete' => array('admin')
|
||||
);
|
||||
|
||||
|
||||
|
|
|
@ -37,16 +37,16 @@
|
|||
* @var array
|
||||
*/
|
||||
public $permissions = array(
|
||||
'index' => array('admin', 'moderator', 'user'),
|
||||
'groupsgroup' => array('admin', 'moderator', 'user'),
|
||||
'index' => array('admin', 'moderator', 'user'),
|
||||
'groupsgroup' => array('admin', 'moderator', 'user'),
|
||||
'creategroupsgroup' => array('admin', 'moderator', 'user'),
|
||||
'editgroupsgroup' => array('admin', 'moderator', 'user'),
|
||||
'editgroupsgroup' => array('admin', 'moderator', 'user'),
|
||||
'deletegroupsgroup' => array('admin', 'moderator', 'user'),
|
||||
'group' => array('admin', 'moderator', 'user'),
|
||||
'managegroup' => array('admin', 'moderator', 'user'),
|
||||
'creategroup' => array('admin', 'moderator', 'user'),
|
||||
'editgroup' => array('admin', 'moderator', 'user'),
|
||||
'deletegroup' => array('admin', 'moderator', 'user')
|
||||
'group' => array('admin', 'moderator', 'user'),
|
||||
'managegroup' => array('admin', 'moderator', 'user'),
|
||||
'creategroup' => array('admin', 'moderator', 'user'),
|
||||
'editgroup' => array('admin', 'moderator', 'user'),
|
||||
'deletegroup' => array('admin', 'moderator', 'user')
|
||||
);
|
||||
/**
|
||||
* User seminary permissions
|
||||
|
@ -54,16 +54,16 @@
|
|||
* @var array
|
||||
*/
|
||||
public $seminaryPermissions = array(
|
||||
'index' => array('admin', 'moderator', 'user'),
|
||||
'groupsgroup' => array('admin', 'moderator', 'user'),
|
||||
'index' => array('admin', 'moderator', 'user'),
|
||||
'groupsgroup' => array('admin', 'moderator', 'user'),
|
||||
'creategroupsgroup' => array('admin', 'moderator'),
|
||||
'editgroupsgroup' => array('admin', 'moderator'),
|
||||
'editgroupsgroup' => array('admin', 'moderator'),
|
||||
'deletegroupsgroup' => array('admin', 'moderator'),
|
||||
'group' => array('admin', 'moderator', 'user'),
|
||||
'managegroup' => array('admin', 'moderator'),
|
||||
'creategroup' => array('admin', 'moderator'),
|
||||
'editgroup' => array('admin', 'moderator', 'user'),
|
||||
'deletegroup' => array('admin', 'moderator')
|
||||
'group' => array('admin', 'moderator', 'user'),
|
||||
'managegroup' => array('admin', 'moderator'),
|
||||
'creategroup' => array('admin', 'moderator'),
|
||||
'editgroup' => array('admin', 'moderator', 'user'),
|
||||
'deletegroup' => array('admin', 'moderator')
|
||||
);
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue