<?php
return array(
    'guest' => array(
        'type' => CAuthItem::TYPE_ROLE,
        'description' => 'guest',
        'bizRule' => null,
        'data' => null
    ),
    'banned' => array(
        'type' => CAuthItem::TYPE_ROLE,
        'description' => 'banned',
        'bizRule' => null,
        'data' => null
    ),
    'demo' => array(
        'type' => CAuthItem::TYPE_ROLE,
        'description' => 'user',
        'bizRule' => null,
        'data' => null
    ),
    'user' => array(
        'type' => CAuthItem::TYPE_ROLE,
        'description' => 'user',
        'children' => array(
            'demo',
        ),
        'bizRule' => null,
        'data' => null
    ),
    'moder' => array(
        'type' => CAuthItem::TYPE_ROLE,
        'description' => 'moder',
        'children' => array(
            'user',
        ),
        'bizRule' => null,
        'data' => null
    ),
    'admin' => array(
        'type' => CAuthItem::TYPE_ROLE,
        'description' => 'admin',
        'children' => array(
            'moder',
        ),
        'bizRule' => null,
        'data' => null
    ),
    'superadmin' => array(
        'type' => CAuthItem::TYPE_ROLE,
        'description' => 'superadmin',
        'children' => array(
            'admin',
        ),
        'bizRule' => null,
        'data' => null
    )
);
