<?php
return [
    'Super Admin' => [
        'type' => 1,
        'description' => 'Access to all modules, no exception.',
        'children' => [
            '/admin/assignment/index',
            '/admin/assignment/view',
            '/admin/assignment/assign',
            '/admin/assignment/revoke',
            '/admin/assignment/*',
            '/admin/default/index',
            '/admin/default/*',
            '/admin/menu/index',
            '/admin/menu/view',
            '/admin/menu/create',
            '/admin/menu/update',
            '/admin/menu/delete',
            '/admin/menu/*',
            '/admin/permission/index',
            '/admin/permission/view',
            '/admin/permission/create',
            '/admin/permission/update',
            '/admin/permission/delete',
            '/admin/permission/assign',
            '/admin/permission/remove',
            '/admin/permission/*',
            '/admin/role/index',
            '/admin/role/view',
            '/admin/role/create',
            '/admin/role/update',
            '/admin/role/delete',
            '/admin/role/assign',
            '/admin/role/remove',
            '/admin/role/*',
            '/admin/route/index',
            '/admin/route/create',
            '/admin/route/assign',
            '/admin/route/remove',
            '/admin/route/refresh',
            '/admin/route/*',
            '/admin/rule/index',
            '/admin/rule/view',
            '/admin/rule/create',
            '/admin/rule/update',
            '/admin/rule/delete',
            '/admin/rule/*',
            '/admin/user/index',
            '/admin/user/view',
            '/admin/user/delete',
            '/admin/user/login',
            '/admin/user/logout',
            '/admin/user/signup',
            '/admin/user/request-password-reset',
            '/admin/user/reset-password',
            '/admin/user/change-password',
            '/admin/user/activate',
            '/admin/user/*',
            '/admin/*',
            '/gii/default/index',
            '/gii/default/view',
            '/gii/default/preview',
            '/gii/default/diff',
            '/gii/default/action',
            '/gii/default/*',
            '/gii/*',
            '/site/error',
            '/site/index',
            '/site/login',
            '/site/logout',
            '/site/signup',
            '/site/*',
            '/*',
            '/sync-config/index',
            '/sync-config/view',
            '/sync-config/create',
            '/sync-config/update',
            '/sync-config/delete',
            '/sync-config/*',
            '/import-customer/index',
            '/import-customer/*',
            '/import-master/index',
            '/import-master/*',
            '/import-product/index',
            '/import-product/*',
            '/import-supplier/index',
            '/import-supplier/*',
            '/site/change-password',
            '/sync-account-to-jurnal/index',
            '/sync-account-to-jurnal/view',
            '/sync-account-to-jurnal/create',
            '/sync-account-to-jurnal/update',
            '/sync-account-to-jurnal/delete',
            '/sync-account-to-jurnal/*',
            '/sync-to-jurnal/index',
            '/sync-to-jurnal/view',
            '/sync-to-jurnal/create',
            '/sync-to-jurnal/update',
            '/sync-to-jurnal/delete',
            '/sync-to-jurnal/*',
            '/site/set-password',
        ],
    ],
    '/admin/assignment/index' => [
        'type' => 2,
    ],
    '/admin/assignment/view' => [
        'type' => 2,
    ],
    '/admin/assignment/assign' => [
        'type' => 2,
    ],
    '/admin/assignment/revoke' => [
        'type' => 2,
    ],
    '/admin/assignment/*' => [
        'type' => 2,
    ],
    '/admin/default/index' => [
        'type' => 2,
    ],
    '/admin/default/*' => [
        'type' => 2,
    ],
    '/admin/menu/index' => [
        'type' => 2,
    ],
    '/admin/menu/view' => [
        'type' => 2,
    ],
    '/admin/menu/create' => [
        'type' => 2,
    ],
    '/admin/menu/update' => [
        'type' => 2,
    ],
    '/admin/menu/delete' => [
        'type' => 2,
    ],
    '/admin/menu/*' => [
        'type' => 2,
    ],
    '/admin/permission/index' => [
        'type' => 2,
    ],
    '/admin/permission/view' => [
        'type' => 2,
    ],
    '/admin/permission/create' => [
        'type' => 2,
    ],
    '/admin/permission/update' => [
        'type' => 2,
    ],
    '/admin/permission/delete' => [
        'type' => 2,
    ],
    '/admin/permission/assign' => [
        'type' => 2,
    ],
    '/admin/permission/remove' => [
        'type' => 2,
    ],
    '/admin/permission/*' => [
        'type' => 2,
    ],
    '/admin/role/index' => [
        'type' => 2,
    ],
    '/admin/role/view' => [
        'type' => 2,
    ],
    '/admin/role/create' => [
        'type' => 2,
    ],
    '/admin/role/update' => [
        'type' => 2,
    ],
    '/admin/role/delete' => [
        'type' => 2,
    ],
    '/admin/role/assign' => [
        'type' => 2,
    ],
    '/admin/role/remove' => [
        'type' => 2,
    ],
    '/admin/role/*' => [
        'type' => 2,
    ],
    '/admin/route/index' => [
        'type' => 2,
    ],
    '/admin/route/create' => [
        'type' => 2,
    ],
    '/admin/route/assign' => [
        'type' => 2,
    ],
    '/admin/route/remove' => [
        'type' => 2,
    ],
    '/admin/route/refresh' => [
        'type' => 2,
    ],
    '/admin/route/*' => [
        'type' => 2,
    ],
    '/admin/rule/index' => [
        'type' => 2,
    ],
    '/admin/rule/view' => [
        'type' => 2,
    ],
    '/admin/rule/create' => [
        'type' => 2,
    ],
    '/admin/rule/update' => [
        'type' => 2,
    ],
    '/admin/rule/delete' => [
        'type' => 2,
    ],
    '/admin/rule/*' => [
        'type' => 2,
    ],
    '/admin/user/index' => [
        'type' => 2,
    ],
    '/admin/user/view' => [
        'type' => 2,
    ],
    '/admin/user/delete' => [
        'type' => 2,
    ],
    '/admin/user/login' => [
        'type' => 2,
    ],
    '/admin/user/logout' => [
        'type' => 2,
    ],
    '/admin/user/signup' => [
        'type' => 2,
    ],
    '/admin/user/request-password-reset' => [
        'type' => 2,
    ],
    '/admin/user/reset-password' => [
        'type' => 2,
    ],
    '/admin/user/change-password' => [
        'type' => 2,
    ],
    '/admin/user/activate' => [
        'type' => 2,
    ],
    '/admin/user/*' => [
        'type' => 2,
    ],
    '/admin/*' => [
        'type' => 2,
    ],
    '/gii/default/index' => [
        'type' => 2,
    ],
    '/gii/default/view' => [
        'type' => 2,
    ],
    '/gii/default/preview' => [
        'type' => 2,
    ],
    '/gii/default/diff' => [
        'type' => 2,
    ],
    '/gii/default/action' => [
        'type' => 2,
    ],
    '/gii/default/*' => [
        'type' => 2,
    ],
    '/gii/*' => [
        'type' => 2,
    ],
    '/site/error' => [
        'type' => 2,
    ],
    '/site/index' => [
        'type' => 2,
    ],
    '/site/login' => [
        'type' => 2,
    ],
    '/site/logout' => [
        'type' => 2,
    ],
    '/site/signup' => [
        'type' => 2,
    ],
    '/site/*' => [
        'type' => 2,
    ],
    '/*' => [
        'type' => 2,
    ],
    'Admin' => [
        'type' => 1,
        'description' => 'Access to all modules except configuration, manage user.',
        'children' => [
            '/gii/default/index',
            '/gii/default/view',
            '/gii/default/preview',
            '/gii/default/diff',
            '/gii/default/action',
            '/gii/default/*',
            '/gii/*',
            '/site/error',
            '/site/index',
            '/site/login',
            '/site/logout',
            '/site/change-password',
        ],
    ],
    '/sync-config/index' => [
        'type' => 2,
    ],
    '/sync-config/view' => [
        'type' => 2,
    ],
    '/sync-config/create' => [
        'type' => 2,
    ],
    '/sync-config/update' => [
        'type' => 2,
    ],
    '/sync-config/delete' => [
        'type' => 2,
    ],
    '/sync-config/*' => [
        'type' => 2,
    ],
    '/import-customer/index' => [
        'type' => 2,
    ],
    '/import-customer/*' => [
        'type' => 2,
    ],
    '/import-master/index' => [
        'type' => 2,
    ],
    '/import-master/*' => [
        'type' => 2,
    ],
    '/import-product/index' => [
        'type' => 2,
    ],
    '/import-product/*' => [
        'type' => 2,
    ],
    '/import-supplier/index' => [
        'type' => 2,
    ],
    '/import-supplier/*' => [
        'type' => 2,
    ],
    '/site/change-password' => [
        'type' => 2,
    ],
    '/sync-account-to-jurnal/index' => [
        'type' => 2,
    ],
    '/sync-account-to-jurnal/view' => [
        'type' => 2,
    ],
    '/sync-account-to-jurnal/create' => [
        'type' => 2,
    ],
    '/sync-account-to-jurnal/update' => [
        'type' => 2,
    ],
    '/sync-account-to-jurnal/delete' => [
        'type' => 2,
    ],
    '/sync-account-to-jurnal/*' => [
        'type' => 2,
    ],
    '/sync-to-jurnal/index' => [
        'type' => 2,
    ],
    '/sync-to-jurnal/view' => [
        'type' => 2,
    ],
    '/sync-to-jurnal/create' => [
        'type' => 2,
    ],
    '/sync-to-jurnal/update' => [
        'type' => 2,
    ],
    '/sync-to-jurnal/delete' => [
        'type' => 2,
    ],
    '/sync-to-jurnal/*' => [
        'type' => 2,
    ],
    '/site/set-password' => [
        'type' => 2,
    ],
    'User' => [
        'type' => 1,
        'description' => 'Dashboard only.',
        'children' => [
            '/import-master/*',
            '/auto-sync/*',
            '/import-data-transaction/*',
            '/import-customer/index',
            '/import-customer/*',
            '/import-master/index',
            '/import-product/index',
            '/import-product/*',
            '/import-supplier/index',
            '/import-supplier/*',
            '/import-data-transaction/index',
            '/import-payment/index',
            '/import-payment/*',
            '/import-transaction/index',
            '/import-transaction/*',
            '/auto-sync/index',
            '/site/error',
            '/site/index',
            '/site/login',
            '/site/logout',
            '/site/change-password',
            '/update-customer/index',
            '/update-customer/*',
            '/update-product/index',
            '/update-product/*',
            '/update-supplier/index',
            '/update-supplier/*',
        ],
    ],
    '/auto-sync/index' => [
        'type' => 2,
    ],
    '/auto-sync/*' => [
        'type' => 2,
    ],
    '/import-data-transaction/index' => [
        'type' => 2,
    ],
    '/import-data-transaction/*' => [
        'type' => 2,
    ],
    '/import-payment/index' => [
        'type' => 2,
    ],
    '/import-payment/*' => [
        'type' => 2,
    ],
    '/import-transaction/index' => [
        'type' => 2,
    ],
    '/import-transaction/*' => [
        'type' => 2,
    ],
    '/sales-return/index' => [
        'type' => 2,
    ],
    '/sales-return/*' => [
        'type' => 2,
    ],
    '/site/set-db' => [
        'type' => 2,
    ],
    '/sync-account-to-jurnal/update-sync' => [
        'type' => 2,
    ],
    '/update-customer/index' => [
        'type' => 2,
    ],
    '/update-customer/*' => [
        'type' => 2,
    ],
    '/update-product/index' => [
        'type' => 2,
    ],
    '/update-product/*' => [
        'type' => 2,
    ],
    '/update-supplier/index' => [
        'type' => 2,
    ],
    '/update-supplier/*' => [
        'type' => 2,
    ],
    '/admin/user/deactivate' => [
        'type' => 2,
    ],
    '/admin/user/create' => [
        'type' => 2,
    ],
    '/admin/user/edit' => [
        'type' => 2,
    ],
    '/admin/user/get-data' => [
        'type' => 2,
    ],
    '/import-deposit/index' => [
        'type' => 2,
    ],
    '/import-deposit/*' => [
        'type' => 2,
    ],
    '/import-modifier/index' => [
        'type' => 2,
    ],
    '/import-modifier/*' => [
        'type' => 2,
    ],
    '/role/create' => [
        'type' => 2,
    ],
    '/role/update' => [
        'type' => 2,
    ],
    '/role/index' => [
        'type' => 2,
    ],
    '/role/view' => [
        'type' => 2,
    ],
    '/role/delete' => [
        'type' => 2,
    ],
    '/role/assign' => [
        'type' => 2,
    ],
    '/role/remove' => [
        'type' => 2,
    ],
    '/role/*' => [
        'type' => 2,
    ],
    '/site/help' => [
        'type' => 2,
    ],
    '/site/help-submit' => [
        'type' => 2,
    ],
    '/site/about' => [
        'type' => 2,
    ],
    '/site/terms-and-conditions' => [
        'type' => 2,
    ],
    '/site/privacy-policy' => [
        'type' => 2,
    ],
    '/site/update-account' => [
        'type' => 2,
    ],
    '/sync-to-jurnal/insert-header-log' => [
        'type' => 2,
    ],
    '/sync-to-jurnal/check-log' => [
        'type' => 2,
    ],
    '/sync-to-jurnal-header/index' => [
        'type' => 2,
    ],
    '/sync-to-jurnal-header/view' => [
        'type' => 2,
    ],
    '/sync-to-jurnal-header/create' => [
        'type' => 2,
    ],
    '/sync-to-jurnal-header/update' => [
        'type' => 2,
    ],
    '/sync-to-jurnal-header/delete' => [
        'type' => 2,
    ],
    '/sync-to-jurnal-header/get-error-data' => [
        'type' => 2,
    ],
    '/sync-to-jurnal-header/*' => [
        'type' => 2,
    ],
    '/update/index' => [
        'type' => 2,
    ],
    '/update/update' => [
        'type' => 2,
    ],
    '/update/*' => [
        'type' => 2,
    ],
    '/user/activate' => [
        'type' => 2,
    ],
    '/user/deactivate' => [
        'type' => 2,
    ],
    '/user/create' => [
        'type' => 2,
    ],
    '/user/edit' => [
        'type' => 2,
    ],
    '/user/get-data' => [
        'type' => 2,
    ],
    '/user/index' => [
        'type' => 2,
    ],
    '/user/view' => [
        'type' => 2,
    ],
    '/user/delete' => [
        'type' => 2,
    ],
    '/user/login' => [
        'type' => 2,
    ],
    '/user/logout' => [
        'type' => 2,
    ],
    '/user/signup' => [
        'type' => 2,
    ],
    '/user/request-password-reset' => [
        'type' => 2,
    ],
    '/user/reset-password' => [
        'type' => 2,
    ],
    '/user/change-password' => [
        'type' => 2,
    ],
    '/user/*' => [
        'type' => 2,
    ],
];
