[ 'type' => Item::TYPE_ROLE, 'description' => 'Guest', 'bizRule' => null, 'data' => null ], Users::ROLE_USER => [ 'type' => Item::TYPE_ROLE, 'description' => 'User', 'children' => [ 'guest', 'createTicket', ], 'bizRule' => 'return !Yii::$app->user->isGuest;', 'data' => null ], Users::ROLE_MANAGER => [ 'type' => Item::TYPE_ROLE, 'description' => 'Manager', 'children' => [ Users::ROLE_USER, 'editNodeType', 'editUser', 'editTag', 'editObject', ], 'bizRule' => null, 'data' => null ], Users::ROLE_ADMIN => [ 'type' => Item::TYPE_ROLE, 'description' => 'Admin', 'children' => [ Users::ROLE_MANAGER, 'editAdmin', 'systemLog', ], 'bizRule' => null, 'data' => null ], 'editUser' => [ 'type' => Item::TYPE_TASK, 'description' => 'Edit profiles', 'bizRule' => null, 'data' => null ], 'editAdmin' => [ 'type' => Item::TYPE_TASK, 'description' => 'Edit Manager and Administrator profiles', 'bizRule' => null, 'data' => null ], 'editNodeType' => [ 'type' => Item::TYPE_TASK, 'description' => 'Edit Node Types', 'bizRule' => null, 'data' => null ], 'createTicket' => [ 'type' => Item::TYPE_TASK, 'description' => 'Create Tickets', 'bizRule' => null, 'data' => null ], 'editObject' => [ 'type' => Item::TYPE_TASK, 'description' => 'Edit Objects', 'bizRule' => null, 'data' => null ], 'editTag' => [ 'type' => Item::TYPE_TASK, 'description' => 'Edit Tags', 'bizRule' => null, 'data' => null ], 'systemLog' => [ 'type' => Item::TYPE_TASK, 'description' => 'Can watch logs and reset it', 'bizRule' => null, 'data' => null, ], ];