nineskeletor/config/routes.yaml

1619 lines
50 KiB
YAML
Executable File
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#== Home ========================================================================================================
app_home:
path: /
controller: App\Controller\HomeController::home
app_user_home:
path: /user
controller: App\Controller\HomeController::homeuser
defaults: { access: user }
app_manager_home:
path: /manager
controller: App\Controller\HomeController::homemanager
defaults: { access: manager }
app_master_home:
path: /master
controller: App\Controller\HomeController::homemaster
defaults: { access: master }
app_modo_home:
path: /modo
controller: App\Controller\HomeController::homemodo
defaults: { access: modo }
app_admin_home:
path: /admin
controller: App\Controller\HomeController::homeadmin
defaults: { access: admin }
oneup_uploader:
resource: .
type: uploader
#== Security ====================================================================================================
#-- Access public
app_login:
path: /login
controller: App\Controller\SecurityController::login
app_loginldapcheck:
path: /loginldapcheck
controller: App\Controller\SecurityController::loginldapcheck
app_loginopenidcallback:
path: /oauth2/callback
controller: App\Controller\SecurityController::loginopenidcallback
app_logout:
path: /logout
controller: App\Controller\SecurityController::logout
app_noperm:
path: /noperm
controller: App\Controller\SecurityController::noperm
#== Websocket====================================================================================================
#-- Access all
app_publish_sample:
path: /all/publish/sample/{id}
controller: App\Controller\PublishController::sample
defaults: { access: all }
app_publish:
path: /all/publish/{channel}/{id}
controller: App\Controller\PublishController::publish
defaults: { access: all }
#== Config ======================================================================================================
#-- Access admin
app_admin_config:
path: /admin/config
controller: App\Controller\ConfigController::list
defaults: { access: admin }
app_admin_config_render:
path: /admin/admin/render/{category}
controller: App\Controller\ConfigController::listrender
defaults: { access: admin }
app_admin_config_submit:
path: /admin/admin/submit
controller: App\Controller\ConfigController::submit
defaults: { access: admin }
app_admin_config_update:
path: /admin/admin/update/{id}
controller: App\Controller\ConfigController::update
defaults: { access: admin }
app_admin_config_delete:
path: /admin/admin/delete/{id}
controller: App\Controller\ConfigController::delete
defaults: { access: admin }
app_admin_config_logo:
path: /admin/admin/logo
controller: App\Controller\ConfigController::logo
defaults: { access: admin }
#== Theme =======================================================================================================
#-- Access admin
app_admin_theme:
path: /admin/theme
controller: App\Controller\ThemeController::list
defaults: { access: admin }
app_admin_theme_select:
path: /admin/theme/select/{name}
controller: App\Controller\ThemeController::select
defaults: { name: "", access: admin }
#== API =========================================================================================================
#-- Access public
app_rest:
path: /docrest
controller: App\Controller\HomeController::docrest
#== Cron ========================================================================================================
#-- Access admin
app_admin_cron:
path: /admin/cron
controller: App\Controller\CronController::list
defaults: { access: admin }
app_admin_cron_tablelist:
path: /admin/cron/tablelist
controller: App\Controller\CronController::tablelist
defaults: { access: admin }
app_admin_cron_update:
path: /admin/cron/update/{id}
controller: App\Controller\CronController::update
defaults: { access: admin }
app_admin_cron_exec:
path: /admin/cron/exec/{id}
controller: App\Controller\CronController::exec
defaults: { access: admin }
app_admin_log:
path: /admin/log
controller: App\Controller\CronController::log
defaults: { access: admin }
app_admin_log_get:
path: /admin/log/{id}
controller: App\Controller\CronController::get
defaults: { access: admin }
#== Crop ========================================================================================================
#-- Access all
app_all_crop01:
path: /all/crop01/{type}/{reportinput}
controller: App\Controller\CropController::crop01
app_all_crop02:
path: /all/crop02/{type}/{reportinput}
controller: App\Controller\CropController::crop02
#== Minio =======================================================================================================
#-- Access public
app_minio_logo:
path: /minio/logo
controller: App\Controller\MinioController::logo
app_minio_image:
path: /minio/image
controller: App\Controller\MinioController::image
app_minio_document:
path: /minio/document
controller: App\Controller\MinioController::document
#== Hydra =======================================================================================================
#-- Access public
app_hydra_loginsql:
path: /hydra/loginsql
controller: App\Controller\HydraController::loginsql
app_hydra_checkloginsql:
path: /hydra/checkloginsql
controller: App\Controller\HydraController::checkloginsql
app_hydra_loginldap:
path: /hydra/loginldap
controller: App\Controller\HydraController::loginldap
app_hydra_checkloginldap:
path: /hydra/checkloginldap
controller: App\Controller\HydraController::checkloginldap
app_hydra_consent:
path: /hydra/consent
controller: App\Controller\HydraController::consent
#== Ckeditor ====================================================================================================
#-- Access all
app_ckeditor_upload:
path: /all/upload
controller: App\Controller\MinioController::ckupload
defaults: { access: all }
#== Audit =======================================================================================================
#--Access admin
app_admin_audit_renderid:
path: /admin/audit/{entityname}/{entityid}
controller: App\Controller\AuditController::auditrender
defaults: { access: admin }
app_admin_audit_render:
path: /admin/audit/{entityname}
controller: App\Controller\AuditController::list
defaults: { access: admin }
#--Access modo
app_modo_audit_renderid:
path: /modo/audit/{entityname}/{entityid}
controller: App\Controller\AuditController::auditrender
defaults: { access: modo }
#== Niveau01 ====================================================================================================
#-- Access admin
app_admin_niveau01:
path: /admin/niveau01
controller: App\Controller\Niveau01Controller::list
defaults: { access: admin }
app_admin_niveau01_tablelist:
path: /admin/niveau01/tablelist
controller: App\Controller\Niveau01Controller::tablelist
defaults: { access: admin }
app_admin_niveau01_selectlist:
path: /admin/niveau01/selectlist
controller: App\Controller\Niveau01Controller::selectlist
defaults: { access: admin }
app_admin_niveau01_submit:
path: /admin/niveau01/submit
controller: App\Controller\Niveau01Controller::submit
defaults: { access: admin }
app_admin_niveau01_update:
path: /admin/niveau01/update/{id}
controller: App\Controller\Niveau01Controller::update
defaults: { access: admin }
app_admin_niveau01_delete:
path: /admin/niveau01/delete/{id}
controller: App\Controller\Niveau01Controller::delete
defaults: { access: admin }
#== Niveau02 ====================================================================================================
#-- Access admin
app_admin_niveau02:
path: /admin/niveau02
controller: App\Controller\Niveau02Controller::list
defaults: { access: admin }
app_admin_niveau02_tablelist:
path: /admin/niveau02/tablelist
controller: App\Controller\Niveau02Controller::tablelist
defaults: { access: admin }
app_admin_niveau02_submit:
path: /admin/niveau02/submit
controller: App\Controller\Niveau02Controller::submit
defaults: { access: admin }
app_admin_niveau02_update:
path: /admin/niveau02/update/{id}
controller: App\Controller\Niveau02Controller::update
defaults: { access: admin }
app_admin_niveau02_delete:
path: /admin/niveau02/delete/{id}
controller: App\Controller\Niveau02Controller::delete
defaults: { access: admin }
#-- Access modo
app_modo_niveau02:
path: /modo/niveau02
controller: App\Controller\Niveau02Controller::list
defaults: { access: modo }
app_modo_niveau02_tablelist:
path: /modo/niveau02/tablelist
controller: App\Controller\Niveau02Controller::tablelist
defaults: { access: modo }
app_modo_niveau02_submit:
path: /modo/niveau02/submit
controller: App\Controller\Niveau02Controller::submit
defaults: { access: modo }
app_modo_niveau02_update:
path: /modo/niveau02/update/{id}
controller: App\Controller\Niveau02Controller::update
defaults: { access: modo }
app_modo_niveau02_delete:
path: /modo/niveau02/delete/{id}
controller: App\Controller\Niveau02Controller::delete
defaults: { access: modo }
#-- Access public
app_niveau02_selectlist:
path: /niveau02/selectlist
controller: App\Controller\Niveau02Controller::selectlist
#== Niveau03 ====================================================================================================
#-- Access admin
app_admin_niveau03:
path: /admin/niveau03
controller: App\Controller\Niveau03Controller::list
defaults: { access: admin }
app_admin_niveau03_tablelist:
path: /admin/niveau03/tablelist
controller: App\Controller\Niveau03Controller::tablelist
defaults: { access: admin }
app_admin_niveau03_submit:
path: /admin/niveau03/submit
controller: App\Controller\Niveau03Controller::submit
defaults: { access: admin }
app_admin_niveau03_update:
path: /admin/niveau03/update/{id}
controller: App\Controller\Niveau03Controller::update
defaults: { access: admin }
app_admin_niveau03_delete:
path: /admin/niveau03/delete/{id}
controller: App\Controller\Niveau03Controller::delete
defaults: { access: admin }
#-- Access modo
app_modo_niveau03:
path: /modo/niveau03
controller: App\Controller\Niveau03Controller::list
defaults: { access: modo }
app_modo_niveau03_tablelist:
path: /modo/niveau03/tablelist
controller: App\Controller\Niveau03Controller::tablelist
defaults: { access: modo }
app_modo_niveau03_submit:
path: /modo/niveau03/submit
controller: App\Controller\Niveau03Controller::submit
defaults: { access: modo }
app_modo_niveau03_update:
path: /modo/niveau03/update/{id}
controller: App\Controller\Niveau03Controller::update
defaults: { access: modo }
app_modo_niveau03_delete:
path: /modo/niveau03/delete/{id}
controller: App\Controller\Niveau03Controller::delete
defaults: { access: modo }
#-- Access public
app_niveau03_selectlist:
path: /niveau03/selectlist
controller: App\Controller\Niveau03Controller::selectlist
#== Niveau04 ====================================================================================================
#-- Access admin
app_admin_niveau04:
path: /admin/niveau04
controller: App\Controller\Niveau04Controller::list
defaults: { access: admin }
app_admin_niveau04_tablelist:
path: /admin/niveau04/tablelist
controller: App\Controller\Niveau04Controller::tablelist
defaults: { access: admin }
app_admin_niveau04_submit:
path: /admin/niveau04/submit
controller: App\Controller\Niveau04Controller::submit
defaults: { access: admin }
app_admin_niveau04_update:
path: /admin/niveau04/update/{id}
controller: App\Controller\Niveau04Controller::update
defaults: { access: admin }
app_admin_niveau04_delete:
path: /admin/niveau04/delete/{id}
controller: App\Controller\Niveau04Controller::delete
defaults: { access: admin }
#-- Access modo
app_modo_niveau04:
path: /modo/niveau04
controller: App\Controller\Niveau04Controller::list
defaults: { access: modo }
app_modo_niveau04_tablelist:
path: /modo/niveau04/tablelist
controller: App\Controller\Niveau04Controller::tablelist
defaults: { access: modo }
app_modo_niveau04_submit:
path: /modo/niveau04/submit
controller: App\Controller\Niveau04Controller::submit
defaults: { access: modo }
app_modo_niveau04_update:
path: /modo/niveau04/update/{id}
controller: App\Controller\Niveau04Controller::update
defaults: { access: modo }
app_modo_niveau04_delete:
path: /modo/niveau04/delete/{id}
controller: App\Controller\Niveau04Controller::delete
defaults: { access: modo }
#-- Access public
app_niveau04_selectlist:
path: /niveau04/selectlist
controller: App\Controller\Niveau04Controller::selectlist
#== Group =======================================================================================================
#-- Access admin
app_admin_group:
path: /admin/group
controller: App\Controller\GroupController::list
defaults: { access: admin }
app_admin_group_tablelist:
path: /admin/group/tablelist
controller: App\Controller\GroupController::tablelist
defaults: { access: admin }
app_admin_group_selectlist:
path: /admin/group/selectlist
controller: App\Controller\GroupController::selectlist
defaults: { access: admin }
app_admin_group_submit:
path: /admin/group/submit
controller: App\Controller\GroupController::submit
defaults: { access: admin }
app_admin_group_update:
path: /admin/group/update/{id}
controller: App\Controller\GroupController::update
defaults: { access: admin }
app_admin_group_delete:
path: /admin/group/delete/{id}
controller: App\Controller\GroupController::delete
defaults: { access: admin }
app_admin_group_users:
path: /admin/group/users/{id}
controller: App\Controller\GroupController::users
defaults: { access: admin }
app_admin_group_usersnotin:
path: /admin/group/usersnotin/{id}
controller: App\Controller\GroupController::usersnotin
defaults: { access: admin }
app_admin_group_usersin:
path: /admin/group/usersin/{id}
controller: App\Controller\GroupController::usersin
defaults: { access: admin }
app_admin_group_usergroup_add:
path: /admin/group/usergroup/add/{groupid}/{userid}
controller: App\Controller\GroupController::useradd
defaults: { access: admin }
app_admin_group_usergroup_del:
path: /admin/group/usergroup/del/{groupid}/{userid}
controller: App\Controller\GroupController::userdel
defaults: { access: admin }
app_admin_group_usergroup_changerole:
path: /admin/group/usergroup/changerole/{groupid}/{userid}/{roleid}
controller: App\Controller\GroupController::userchangerole
defaults: { access: admin }
#-- Access modo
app_modo_group:
path: /modo/group
controller: App\Controller\GroupController::list
defaults: { access: modo }
app_modo_group_tablelist:
path: /modo/group/tablelist
controller: App\Controller\GroupController::tablelist
defaults: { access: modo }
app_modo_group_selectlist:
path: /modo/group/selectlist
controller: App\Controller\GroupController::selectlist
defaults: { access: modo }
app_modo_group_users:
path: /modo/group/users/{id}
controller: App\Controller\GroupController::users
defaults: { access: modo }
app_modo_group_usersnotin:
path: /modo/group/usersnotin/{id}
controller: App\Controller\GroupController::usersnotin
defaults: { access: modo }
app_modo_group_usersin:
path: /modo/group/usersin/{id}
controller: App\Controller\GroupController::usersin
defaults: { access: modo }
app_modo_group_usergroup_add:
path: /modo/group/usergroup/add/{groupid}/{userid}
controller: App\Controller\GroupController::useradd
defaults: { access: modo }
app_modo_group_usergroup_del:
path: /modo/group/usergroup/del/{groupid}/{userid}
controller: App\Controller\GroupController::userdel
defaults: { access: modo }
app_modo_group_usergroup_changerole:
path: /modo/group/usergroup/changerole/{groupid}/{userid}/{roleid}
controller: App\Controller\GroupController::userchangerole
defaults: { access: modo }
#-- Access all
app_all_group:
path: /all/group
controller: App\Controller\GroupController::list
defaults: { access: all }
app_all_group_tablelist:
path: /all/group/tablelist
controller: App\Controller\GroupController::tablelist
defaults: { access: all }
app_all_group_selectlist:
path: /all/group/selectlist
controller: App\Controller\GroupController::selectlist
defaults: { access: all }
app_all_group_submit:
path: /all/group/submit
controller: App\Controller\GroupController::submit
defaults: { access: all }
app_all_group_update:
path: /all/group/update/{id}
controller: App\Controller\GroupController::update
defaults: { access: all }
app_all_group_delete:
path: /all/group/delete/{id}
controller: App\Controller\GroupController::delete
defaults: { access: all }
app_all_group_users:
path: /all/group/users/{id}
controller: App\Controller\GroupController::users
defaults: { access: all }
app_all_group_usersnotin:
path: /all/group/usersnotin/{id}
controller: App\Controller\GroupController::usersnotin
defaults: { access: all }
app_all_group_usersin:
path: /all/group/usersin/{id}
controller: App\Controller\GroupController::usersin
defaults: { access: all }
app_all_group_usergroup_add:
path: /all/group/usergroup/add/{groupid}/{userid}
controller: App\Controller\GroupController::useradd
defaults: { access: all }
app_all_group_usergroup_del:
path: /all/group/usergroup/del/{groupid}/{userid}
controller: App\Controller\GroupController::userdel
defaults: { access: all }
app_all_group_usergroup_changerole:
path: /all/group/usergroup/changerole/{groupid}/{userid}/{roleid}
controller: App\Controller\GroupController::userchangerole
defaults: { access: all }
app_all_group_userout:
path: /all/group/userout/{id}
controller: App\Controller\GroupController::userout
defaults: { access: all }
#== Whitelist ===================================================================================================
#-- Access admin
app_admin_whitelist:
path: /admin/whitelist
controller: App\Controller\WhitelistController::list
defaults: { access: admin }
app_admin_whitelist_tablelist:
path: /admin/whitelist/tablelist
controller: App\Controller\WhitelistController::tablelist
defaults: { access: admin }
app_admin_whitelist_submit:
path: /admin/whitelist/submit
controller: App\Controller\WhitelistController::submit
defaults: { access: admin }
app_admin_whitelist_update:
path: /admin/whitelist/update/{id}
controller: App\Controller\WhitelistController::update
defaults: { access: admin }
app_admin_whitelist_delete:
path: /admin/whitelist/delete/{id}
controller: App\Controller\WhitelistController::delete
defaults: { access: admin }
#-- Access public
app_whitelist_is:
path: /whitelist/is
controller: App\Controller\WhitelistController::is
#== Registration ================================================================================================
#-- Access admin
app_admin_registration:
path: /admin/registration
controller: App\Controller\RegistrationController::list
defaults: { access: admin }
app_admin_registration_tablelist:
path: /admin/registration/tablelist
controller: App\Controller\RegistrationController::tablelist
defaults: { access: admin }
app_admin_registration_update:
path: /admin/registration/update/{id}
controller: App\Controller\RegistrationController::update
defaults: { access: admin }
app_admin_registration_delete:
path: /admin/registration/delete/{id}
controller: App\Controller\RegistrationController::delete
defaults: { access: admin }
#-- Access modo
app_modo_registration:
path: /modo/registration
controller: App\Controller\RegistrationController::list
defaults: { access: modo }
app_modo_registration_tablelist:
path: /modo/registration/tablelist
controller: App\Controller\RegistrationController::tablelist
defaults: { access: modo }
app_modo_registration_update:
path: /modo/registration/update/{id}
controller: App\Controller\RegistrationController::update
defaults: { access: modo }
app_modo_registration_delete:
path: /modo/registration/delete/{id}
controller: App\Controller\RegistrationController::delete
defaults: { access: modo }
#-- Access public
app_registration:
path: /registration
controller: App\Controller\RegistrationController::submit
app_registration_info:
path: /registration/info
controller: App\Controller\RegistrationController::info
app_registration_validation:
path: /registration/validation/{key}
controller: App\Controller\RegistrationController::validation
app_resetpwd01:
path: /resetpwd01
controller: App\Controller\RegistrationController::resetpwd01
app_resetpwd02:
path: /resetpwd02/{key}
controller: App\Controller\RegistrationController::resetpwd02
#== User ========================================================================================================
#-- Access admin
app_admin_user:
path: /admin/user
controller: App\Controller\UserController::list
defaults: { access: admin }
app_admin_user_tablelist:
path: /admin/user/tablelist
controller: App\Controller\UserController::tablelist
defaults: { access: admin }
app_admin_user_selectlist:
path: /admin/user/selectlist
controller: App\Controller\UserController::selectlist
defaults: { access: admin }
app_admin_user_submit:
path: /admin/user/submit
controller: App\Controller\UserController::submit
defaults: { access: admin }
app_admin_user_update:
path: /admin/user/update/{id}
controller: App\Controller\UserController::update
defaults: { access: admin }
app_admin_user_delete:
path: /admin/user/delete/{id}
controller: App\Controller\UserController::delete
defaults: { access: admin }
#-- Access modo
app_modo_user:
path: /modo/user
controller: App\Controller\UserController::list
defaults: { access: modo }
app_modo_user_tablelist:
path: /modo/user/tablelist
controller: App\Controller\UserController::tablelist
defaults: { access: modo }
app_modo_user_selectlist:
path: /modo/user/selectlist
controller: App\Controller\UserController::selectlist
defaults: { access: modo }
app_modo_user_submit:
path: /modo/user/submit
controller: App\Controller\UserController::submit
defaults: { access: modo }
app_modo_user_update:
path: /modo/user/update/{id}
controller: App\Controller\UserController::update
defaults: { access: modo }
app_modo_user_delete:
path: /modo/user/delete/{id}
controller: App\Controller\UserController::delete
defaults: { access: modo }
#-- Access manager
app_manager_user:
path: /manager/user
controller: App\Controller\UserController::list
defaults: { access: manager }
app_manager_user_tablelist:
path: /manager/user/tablelist
controller: App\Controller\UserController::tablelist
defaults: { access: manager }
app_manager_user_selectlist:
path: /manager/user/selectlist
controller: App\Controller\UserController::selectlist
defaults: { access: manager }
app_manager_user_submit:
path: /manager/user/submit
controller: App\Controller\UserController::submit
defaults: { access: manager }
app_manager_user_update:
path: /manager/user/update/{id}
controller: App\Controller\UserController::update
defaults: { access: manager }
app_manager_user_delete:
path: /manager/user/delete/{id}
controller: App\Controller\UserController::delete
defaults: { access: manager }
#-- Access all
app_all_user:
path: /all/update
controller: App\Controller\UserController::profil
defaults: { access: all }
app_all_users:
path: /all/users
controller: App\Controller\UserController::list
defaults: { access: all }
app_all_user_tablelist:
path: /all/user/tablelist
controller: App\Controller\UserController::tablelist
defaults: { access: all }
app_all_user_selectlist:
path: /all/user/selectlist
controller: App\Controller\UserController::selectlist
defaults: { access: all }
app_all_view:
path: /all/view/{id}
controller: App\Controller\UserController::view
defaults: { access: all }
app_all_preference:
path: /all/preference
controller: App\Controller\UserController::preference
defaults: { access: all }
#== ICON =================================================================================================================================================
#-- Access admin
app_admin_icon:
path: /admin/icon
controller: App\Controller\IconController::list
defaults: { access: admin }
app_admin_icon_submit:
path: /admin/icon/submit
controller: App\Controller\IconController::submit
defaults: { access: admin }
app_admin_icon_update:
path: /admin/icon/update/{id}
controller: App\Controller\IconController::update
defaults: { access: admin }
app_admin_icon_delete:
path: /admin/icon/delete/{id}
controller: App\Controller\IconController::delete
defaults: { access: admin }
app_admin_icon_select:
path: /admin/icon/select
controller: App\Controller\IconController::select
defaults: { access: admin }
app_admin_icon_upload:
path: /admin/icon/upload
controller: App\Controller\IconController::upload
defaults: { access: admin }
#-- Access all
app_all_icon:
path: /all/icon
controller: App\Controller\IconController::list
defaults: { access: all }
app_all_icon_submit:
path: /all/icon/submit
controller: App\Controller\IconController::submit
defaults: { access: all }
app_all_icon_update:
path: /all/icon/update/{id}
controller: App\Controller\IconController::update
defaults: { access: all }
app_all_icon_delete:
path: /all/icon/delete/{id}
controller: App\Controller\IconController::delete
defaults: { access: all }
app_all_icon_select:
path: /all/icon/select
controller: App\Controller\IconController::select
defaults: { access: all }
app_all_icon_upload:
path: /all/icon/upload
controller: App\Controller\IconController::upload
defaults: { access: all }
#== ALERT ================================================================================================================================================
#-- Access admin
app_admin_alert:
path: /admin/alert
controller: App\Controller\AlertController::list
defaults: { access: admin }
app_admin_alert_submit:
path: /admin/alert/submit
controller: App\Controller\AlertController::submit
defaults: { access: admin }
app_admin_alert_update:
path: /admin/alert/update/{id}
controller: App\Controller\AlertController::update
defaults: { access: admin }
app_admin_alert_delete:
path: /admin/alert/delete/{id}
controller: App\Controller\AlertController::delete
defaults: { access: admin }
app_admin_alert_order:
path: /admin/alert/order
controller: App\Controller\AlertController::order
defaults: { access: admin }
#-- Access all
app_all_alert_read:
path: /all/alert/read
controller: App\Controller\AlertController::read
defaults: { access: all }
#== ALERT CATEGORY =======================================================================================================================================
#-- Access admin
app_admin_alertcategory_submit:
path: /admin/alertcategory/submit
controller: App\Controller\AlertcategoryController::submit
defaults: { access: admin }
app_admin_alertcategory_update:
path: /admin/alertcategory/update/{id}
controller: App\Controller\AlertcategoryController::update
defaults: { access: admin }
app_admin_alertcategory_delete:
path: /admin/alertcategory/delete/{id}
controller: App\Controller\AlertcategoryController::delete
defaults: { access: admin }
#== ITEM =================================================================================================================================================
#-- Access admin
app_admin_item:
path: /admin/item
controller: App\Controller\ItemController::list
defaults: { access: admin }
app_admin_item_submit:
path: /admin/item/submit
controller: App\Controller\ItemController::submit
defaults: { access: admin }
app_admin_item_update:
path: /admin/item/update/{id}
controller: App\Controller\ItemController::update
defaults: { access: admin }
app_admin_item_delete:
path: /admin/item/delete/{id}
controller: App\Controller\ItemController::delete
defaults: { access: admin }
app_admin_item_order:
path: /admin/item/order
controller: App\Controller\ItemController::order
defaults: { access: admin }
#== ITEM CATEGORY ========================================================================================================================================
#-- Access admin
app_admin_itemcategory_submit:
path: /admin/itemcategory/submit
controller: App\Controller\ItemcategoryController::submit
defaults: { access: admin }
app_admin_itemcategory_update:
path: /admin/itemcategory/update/{id}
controller: App\Controller\ItemcategoryController::update
defaults: { access: admin }
app_admin_itemcategory_delete:
path: /admin/itemcategory/delete/{id}
controller: App\Controller\ItemcategoryController::delete
defaults: { access: admin }
app_admin_itemcategory_order:
path: /admin/itemcategory/order
controller: App\Controller\ItemcategoryController::order
defaults: { access: admin }
#== BOOKMARK =============================================================================================================================================
#-- Access config
app_admin_bookmark_submit:
path: /admin/bookmark/submit/{idpage}/{idwidget}/{touser}
controller: App\Controller\BookmarkController::submit
defaults: { access: admin }
app_admin_bookmark_update:
path: /admin/bookmark/update/{id}/{idpage}/{idwidget}/{touser}
controller: App\Controller\BookmarkController::update
defaults: { access: admin }
app_admin_bookmark_delete:
path: /admin/bookmark/delete/{id}/{idpage}/{idwidget}/{touser}
controller: App\Controller\BookmarkController::delete
defaults: { access: admin }
app_admin_bookmark_heart:
path: /admin/bookmark/heart
controller: App\Controller\BookmarkController::heart
defaults: { access: admin }
#-- Access all
app_all_bookmark_submit:
path: /all/bookmark/submit/{idpage}/{idwidget}/{touser}
controller: App\Controller\BookmarkController::submit
defaults: { access: all }
app_all_bookmark_update:
path: /all/bookmark/update/{id}/{idpage}/{idwidget}/{touser}
controller: App\Controller\BookmarkController::update
defaults: { access: all }
app_all_bookmark_delete:
path: /all/bookmark/delete/{id}/{idpage}/{idwidget}/{touser}
controller: App\Controller\BookmarkController::delete
defaults: { access: all }
app_all_bookmark_heart:
path: /all/bookmark/heart
controller: App\Controller\BookmarkController::heart
defaults: { access: all }
#== FILE =================================================================================================================
#-- Access admin
app_admin_file_list:
path: /admin/file/list/{directory}
controller: App\Controller\FileController::list
defaults: { access: admin }
app_admin_file_upload:
path: /admin/file/upload/{id}/{type}
controller: App\Controller\FileController::upload
defaults: { access: admin }
app_admin_file_subdirectory:
path: /admin/file/subdirectory/{id}/{type}
controller: App\Controller\FileController::subdirectory
defaults: { access: admin }
app_admin_file_rename:
path: /admin/file/rename/{id}/{oldname}
controller: App\Controller\FileController::rename
defaults: { access: admin }
app_admin_file_trash:
path: /admin/file/trash/
controller: App\Controller\FileController::trash
defaults: { access: admin }
app_admin_file_restaure:
path: /admin/file/restaure/
controller: App\Controller\FileController::restaure
defaults: { access: admin }
app_admin_file_purgetrash:
path: /admin/file/purgetrash/{directory}
controller: App\Controller\FileController::purgetrash
defaults: { access: admin }
app_admin_file_delete:
path: /admin/file/delete/
controller: App\Controller\FileController::delete
defaults: { access: admin }
app_admin_file_move:
path: /admin/file/move/
controller: App\Controller\FileController::move
defaults: { access: admin }
app_admin_file_view:
path: /admin/file/view/{directory}/{filename}
controller: App\Controller\FileController::view
defaults: { access: admin }
app_admin_file_show:
path: /admin/file/show/{directory}/{filename}
controller: App\Controller\FileController::show
defaults: { access: admin }
app_admin_file_download:
path: /admin/file/download/{directory}/{filename}
controller: App\Controller\FileController::download
defaults: { access: admin }
#-- Access all
app_all_file_list:
path: /all/file/list/{directory}
controller: App\Controller\FileController::list
defaults: { access: all }
app_all_file_upload:
path: /all/file/upload/{id}/{type}
controller: App\Controller\FileController::upload
defaults: { access: all }
app_all_file_subdirectory:
path: /all/file/subdirectory/{id}/{type}
controller: App\Controller\FileController::subdirectory
defaults: { access: all }
app_all_file_rename:
path: /all/file/rename/{id}/{oldname}
controller: App\Controller\FileController::rename
defaults: { access: all }
app_all_file_trash:
path: /all/file/trash/
controller: App\Controller\FileController::trash
defaults: { access: all }
app_all_file_restaure:
path: /all/file/restaure/
controller: App\Controller\FileController::restaure
defaults: { access: all }
app_all_file_purgetrash:
path: /all/file/purgetrash/{directory}
controller: App\Controller\FileController::purgetrash
defaults: { access: all }
app_all_file_delete:
path: /all/file/delete
controller: App\Controller\FileController::delete
app_all_file_move:
path: /all/file/move/
controller: App\Controller\FileController::move
defaults: { access: all }
app_all_file_view:
path: /all/file/view/{directory}/{filename}
controller: App\Controller\FileController::view
defaults: { access: all }
app_all_file_download:
path: /all/file/download/{directory}/{filename}
controller: App\Controller\FileController::download
defaults: { access: all }
app_all_file_show:
path: /all/file/show/{directory}/{filename}
controller: App\Controller\FileController::show
defaults: { access: all }
#== SLIDE ================================================================================================================================================
#-- Access admin
app_admin_slide_list:
path: /config/slide/{idpage}/{idwidget}
controller: App\Controller\SlideController::list
defaults: { access: admin }
app_admin_slide_submit:
path: /config/slide/submit/{idpage}/{idwidget}
controller: App\Controller\SlideController::submit
defaults: { access: admin }
app_admin_slide_update:
path: /config/slide/update/{idpage}/{id}
controller: App\Controller\SlideController::update
defaults: { access: admin }
app_admin_slide_delete:
path: /config/slide/delete/{idpage}/{id}
controller: App\Controller\SlideController::delete
defaults: { access: admin }
app_admin_slide_upload:
path: /config/slide/upload
controller: App\Controller\SlideController::upload
defaults: { access: admin }
#-- Access all
app_all_slide_list:
path: /user/slide/{idpage}/{idwidget}
controller: App\Controller\SlideController::list
defaults: { access: all }
app_all_slide_submit:
path: /user/slide/submit/{idpage}/{idwidget}
controller: App\Controller\SlideController::submit
defaults: { access: all }
app_all_slide_update:
path: /user/slide/update/{idpage}/{id}
controller: App\Controller\SlideController::update
defaults: { access: all }
app_all_slide_delete:
path: /user/slide/delete/{idpage}/{id}
controller: App\Controller\SlideController::delete
defaults: { access: all }
app_all_slide_upload:
path: /user/slide/upload
controller: App\Controller\SlideController::upload
defaults: { access: all }
#== MESSAGE ==================================================================================================================
# Access all
app_all_message_chat:
path: /all/message/chat/{id}
controller: App\Controller\WebsocketController::chat
defaults: { access: all }
app_all_message_see:
path: /all/message/see
controller: App\Controller\WebsocketController::see
defaults: { access: all }
#== PAGE TEMPLATE ========================================================================================================================================
#-- Access admin
app_admin_page_template:
path: /admin/template
controller: App\Controller\PagetemplateController::list
defaults: { access: admin, usage: template }
app_admin_page_template_tablelist:
path: /admin/template/tablelist
controller: App\Controller\PagetemplateController::tablelist
defaults: { access: admin, usage: template }
app_admin_template_submit:
path: /admin/template/submit
controller: App\Controller\PagetemplateController::submit
defaults: { access: admin, usage: template }
app_admin_page_template_update:
path: /admin/template/update/{id}
controller: App\Controller\PagetemplateController::update
defaults: { access: admin, usage: template }
app_admin_page_template_delete:
path: /admin/template/delete/{id}
controller: App\Controller\PagetemplateController::delete
defaults: { access: admin, usage: template }
app_admin_page_template_view:
path: /admin/template/view/{id}
controller: App\Controller\PagetemplateController::view
defaults: { access: admin, usage: template }
#-- Access all
app_all_page_template_selectlist:
path: /all/template/selectlist
controller: App\Controller\PagetemplateController::selectlist
defaults: { access: admin, usage: template }
#== PAGE =================================================================================================================================================
#-- Access admin
app_admin_page_portal:
path: /admin/page/
controller: App\Controller\PageController::list
defaults: { access: admin, usage: portal }
app_admin_page_portal_tablelist:
path: /admin/page/tablelist
controller: App\Controller\PageController::tablelist
defaults: { access: admin, usage: portal }
app_admin_page_portal_submit:
path: /admin/page/submit
controller: App\Controller\PageController::submit
defaults: { access: admin, usage: portal }
app_admin_page_portal_update:
path: /admin/page/update/{id}
controller: App\Controller\PageController::update
defaults: { access: admin, usage: portal }
app_admin_page_portal_delete:
path: /admin/page/delete/{id}
controller: App\Controller\PageController::delete
defaults: { access: admin, usage: portal }
app_admin_page_portal_view:
path: /admin/page/view/{id}
controller: App\Controller\PageController::view
defaults: { access: admin, usage: portal }
app_admin_page_portal_order:
path: /admin/page/order
controller: App\Controller\PageController::order
defaults: { access: admin, usage: portal }
#-- Access all
# usage=user
app_all_page_user_submit:
path: /all/page/user/submit
controller: App\Controller\PageController::submit
defaults: { access: all, usage: user }
app_all_page_user_update:
path: /all/page/user/update/{id}
controller: App\Controller\PageController::update
defaults: { access: all, usage: user }
app_all_page_user_delete:
path: /all/page/user/delete/{id}
controller: App\Controller\PageController::delete
defaults: { access: all, usage: user }
app_all_page_user_order:
path: /all/page/user/order
controller: App\Controller\PageController::order
defaults: { access: all, usage: user }
# usage=group
app_all_page_group_submit:
path: /all/page/group/submit
controller: App\Controller\PageController::submit
defaults: { access: all, usage: group }
app_all_page_group_update:
path: /all/page/group/update/{id}
controller: App\Controller\PageController::update
defaults: { access: all, usage: group }
app_all_page_group_delete:
path: /all/page/group/delete/{id}
controller: App\Controller\PageController::delete
defaults: { access: all, usage: group }
app_all_page_group_order:
path: /all/page/group/order
controller: App\Controller\PageController::order
defaults: { access: all, usage: group }
#-- Access visitor
# usage=portal
app_all_page_portal_view:
path: /page/portal/view/{id}
controller: App\Controller\PageController::view
defaults: { access: all, usage: portal }
# usage=user
app_all_page_user_view:
path: /page/user/view/{id}
controller: App\Controller\PageController::view
defaults: { access: all, usage: user }
# usage=group
app_all_page_group_view:
path: /page/group/view/{id}
controller: App\Controller\PageController::view
defaults: { access: all, usage: group }
#-- Page spécifique
app_all_page_application:
path: /page/application
controller: App\Controller\PageController::application
defaults: { access: all }
#== PAGE WIDGET ==========================================================================================================================================
#-- Access admin
app_admin_pagewidget_widget_sumbit:
path: /admin/pagewidget/submit/{idpage}/{idwidgettype}
controller: App\Controller\PagewidgetController::submit
defaults: { access: admin }
app_admin_pagewidget_widget_update:
path: /admin/pagewidget/update/{idpage}/{idwidget}
controller: App\Controller\PagewidgetController::update
defaults: { access: admin }
app_admin_pagewidget_delete:
path: /admin/pagewidget/delete/{idwidget}
controller: App\Controller\PagewidgetController::delete
defaults: { access: admin }
app_admin_pagewidget_order:
path: /admin/pagewidget/order
controller: App\Controller\PagewidgetController::order
defaults: { access: admin }
app_admin_pagewidget_view_url:
path: /admin/pagewidget/view/url/{id}
controller: App\Controller\PagewidgetController::viewurl
defaults: { access: admin }
app_admin_pagewidget_view_urlfixe:
path: /admin/pagewidget/view/urlfixe/{id}
controller: App\Controller\PagewidgetController::viewurlfixe
defaults: { access: admin }
app_admin_pagewidget_view_item:
path: /admin/pagewidget/view/item/{id}
controller: App\Controller\PagewidgetController::viewitem
defaults: { access: admin }
app_admin_pagewidget_view_itemessential:
path: /admin/pagewidget/view/itemessential/{id}
controller: App\Controller\PagewidgetController::viewitemessential
defaults: { access: admin }
app_admin_pagewidget_view_alert:
path: /admin/pagewidget/view/alert/{id}
controller: App\Controller\PagewidgetController::viewalert
defaults: { access: admin }
app_admin_pagewidget_view_flux:
path: /admin/pagewidget/view/flux/{id}
controller: App\Controller\PagewidgetController::viewflux
defaults: { access: admin }
app_admin_pagewidget_view_rss:
path: /admin/pagewidget/view/rss/{id}
controller: App\Controller\PagewidgetController::viewrss
defaults: { access: admin }
app_admin_pagewidget_view_bookmark:
path: /admin/pagewidget/view/bookmark/{id}
controller: App\Controller\PagewidgetController::viewbookmark
defaults: { access: admin }
app_admin_pagewidget_view_link:
path: /admin/pagewidget/view/link/{id}
controller: App\Controller\PagewidgetController::viewlink
defaults: { access: admin }
app_admin_pagewidget_view_editor:
path: /admin/pagewidget/view/editor/{id}
controller: App\Controller\PagewidgetController::vieweditor
defaults: { access: admin }
app_admin_pagewidget_view_slide:
path: /admin/pagewidget/view/slide/{id}
controller: App\Controller\PagewidgetController::viewslide
defaults: { access: admin }
app_admin_pagewidget_view_file:
path: /admin/pagewidget/view/file/{id}
controller: App\Controller\PagewidgetController::viewfile
defaults: { access: admin }
app_admin_pagewidget_view_galery:
path: /admin/pagewidget/view/galery/{id}
controller: App\Controller\PagewidgetController::viewgalery
defaults: { access: admin }
app_admin_pagewidget_view_calendar:
path: /admin/pagewidget/view/calendar/{id}
controller: App\Controller\PagewidgetController::viewcalendar
defaults: { access: admin }
app_admin_pagewidget_view_blog:
path: /admin/pagewidget/view/blog/{id}
controller: App\Controller\PagewidgetController::viewblog
defaults: { access: admin }
app_admin_pagewidget_view_project:
path: /admin/pagewidget/view/project/{id}
controller: App\Controller\PagewidgetController::viewproject
defaults: { access: admin }
app_admin_pagewidget_view_info:
path: /admin/pagewidget/view/info/{id}
controller: App\Controller\PagewidgetController::viewinfo
defaults: { access: admin }
app_admin_pagewidget_view_chat:
path: /admin/pagewidget/view/chat/{id}
controller: App\Controller\PagewidgetController::viewchat
defaults: { access: admin }
app_admin_pagewidget_view_group:
path: /admin/pagewidget/view/group/{id}
controller: App\Controller\PagewidgetController::viewgroup
defaults: { access: admin }
app_admin_pagewidget_view_groupmessage:
path: /admin/pagewidget/view/groupmessage/{id}
controller: App\Controller\PagewidgetController::viewgroupmessage
defaults: { access: admin }
#-- Access all
app_all_pagewidget_widget_sumbit:
path: /all/pagewidget/submit/{idpage}/{idwidgettype}
controller: App\Controller\PagewidgetController::submit
defaults: { access: all }
app_all_pagewidget_widget_update:
path: /all/pagewidget/update/{idpage}/{idwidget}
controller: App\Controller\PagewidgetController::update
defaults: { access: all }
app_all_pagewidget_delete:
path: /all/pagewidget/delete/{idwidget}
controller: App\Controller\PagewidgetController::delete
defaults: { access: all }
app_all_pagewidget_order:
path: /all/pagewidget/order
controller: App\Controller\PagewidgetController::order
defaults: { access: all }
app_all_pagewidget_view_url:
path: /pagewidget/view/url/{id}
controller: App\Controller\PagewidgetController::viewurl
defaults: { access: all }
app_all_pagewidget_view_urlfixe:
path: /pagewidget/view/urlfixe/{id}
controller: App\Controller\PagewidgetController::viewurlfixe
defaults: { access: all }
app_all_pagewidget_view_item:
path: /pagewidget/view/item/{id}
controller: App\Controller\PagewidgetController::viewitem
defaults: { access: all }
app_all_pagewidget_view_itemessential:
path: /pagewidget/view/itemessential/{id}
controller: App\Controller\PagewidgetController::viewitemessential
defaults: { access: all }
app_all_pagewidget_view_alert:
path: /pagewidget/view/alert/{id}
controller: App\Controller\PagewidgetController::viewalert
defaults: { access: all }
app_all_pagewidget_view_flux:
path: /pagewidget/view/flux/{id}
controller: App\Controller\PagewidgetController::viewflux
defaults: { access: all }
app_all_pagewidget_view_rss:
path: /pagewidget/view/rss/{id}
controller: App\Controller\PagewidgetController::viewrss
defaults: { access: all }
app_all_pagewidget_view_bookmark:
path: /pagewidget/view/bookmark/{id}
controller: App\Controller\PagewidgetController::viewbookmark
defaults: { access: all }
app_all_pagewidget_view_link:
path: /pagewidget/view/link/{id}
controller: App\Controller\PagewidgetController::viewlink
defaults: { access: all }
app_all_pagewidget_view_editor:
path: /pagewidget/view/editor/{id}
controller: App\Controller\PagewidgetController::vieweditor
defaults: { access: all }
app_all_pagewidget_view_slide:
path: /pagewidget/view/slide/{id}
controller: App\Controller\PagewidgetController::viewslide
defaults: { access: all }
app_all_pagewidget_view_file:
path: /pagewidget/view/file/{id}
controller: App\Controller\PagewidgetController::viewfile
defaults: { access: all }
app_all_pagewidget_view_galery:
path: /pagewidget/view/galery/{id}
controller: App\Controller\PagewidgetController::viewgalery
defaults: { access: all }
app_all_pagewidget_view_calendar:
path: /pagewidget/view/calendar/{id}
controller: App\Controller\PagewidgetController::viewcalendar
defaults: { access: all }
app_all_pagewidget_view_blog:
path: /pagewidget/view/blog/{id}
controller: App\Controller\PagewidgetController::viewblog
defaults: { access: all }
app_all_pagewidget_view_project:
path: /pagewidget/view/project/{id}
controller: App\Controller\PagewidgetController::viewproject
defaults: { access: all }
app_all_pagewidget_view_info:
path: /pagewidget/view/info/{id}
controller: App\Controller\PagewidgetController::viewinfo
defaults: { access: all }
app_all_pagewidget_view_chat:
path: /pagewidget/view/chat/{id}
controller: App\Controller\PagewidgetController::viewchat
defaults: { access: all }
app_all_pagewidget_view_group:
path: /pagewidget/view/group/{id}
controller: App\Controller\PagewidgetController::viewgroup
defaults: { access: all }
app_all_pagewidget_view_groupmessage:
path: /pagewidget/view/groupmessage/{id}
controller: App\Controller\PagewidgetController::viewgroupmessage
defaults: { access: all }