admin_permissions_index:
  path: /
  methods: GET
  defaults:
    _controller: PrestaShopBundle:Admin\Configure\AdvancedParameters\Permission:index
    _legacy_controller: AdminAccess
    _legacy_link: AdminAccess
    _legacy_feature_flag: permission

admin_permissions_update_tab_permissions:
  path: /update/permissions/tab
  methods: POST
  defaults:
    _controller: PrestaShopBundle:Admin\Configure\AdvancedParameters\Permission:updateTabPermissions
    _legacy_controller: AdminAccess
    _legacy_link: AdminAccess:updateAccess
    _legacy_feature_flag: permission

admin_permissions_update_module_permissions:
  path: /update/permissions/module
  methods: POST
  defaults:
    _controller: PrestaShopBundle:Admin\Configure\AdvancedParameters\Permission:updateModulePermissions
    _legacy_controller: AdminAccess
    _legacy_link: AdminAccess:updateModuleAccess
    _legacy_feature_flag: permission
