/dports/finance/prestashop/prestashop/src/PrestaShopBundle/Controller/Admin/Configure/AdvancedParameters/ |
H A D | MemcacheServerController.php | 33 use PrestaShopBundle\Security\Voter\PageVoter; alias 93 PageVoter::LEVEL_READ, 94 PageVoter::LEVEL_UPDATE, 95 PageVoter::LEVEL_CREATE, 96 PageVoter::LEVEL_DELETE, 152 PageVoter::LEVEL_READ, 153 PageVoter::LEVEL_UPDATE, 154 PageVoter::LEVEL_CREATE, 155 PageVoter::LEVEL_DELETE,
|
H A D | ImportController.php | 36 use PrestaShopBundle\Security\Voter\PageVoter; alias 133 PageVoter::LEVEL_CREATE, 134 PageVoter::LEVEL_UPDATE, 135 PageVoter::LEVEL_DELETE, 348 PageVoter::LEVEL_CREATE, 349 PageVoter::LEVEL_UPDATE, 350 PageVoter::LEVEL_DELETE,
|
H A D | EmailController.php | 36 use PrestaShopBundle\Security\Voter\PageVoter; alias 241 PageVoter::LEVEL_READ, 242 PageVoter::LEVEL_UPDATE, 243 PageVoter::LEVEL_CREATE, 244 PageVoter::LEVEL_DELETE,
|
H A D | EmployeeController.php | 53 use PrestaShopBundle\Security\Voter\PageVoter; alias 325 if (!$this->isGranted(PageVoter::UPDATE, $request->get('_legacy_controller'))) {
|
/dports/finance/prestashop/prestashop/install/upgrade/php/ |
H A D | copy_tab_rights.php | 27 use PrestaShopBundle\Security\Voter\PageVoter; alias 34 …foreach (array(PageVoter::CREATE, PageVoter::READ, PageVoter::UPDATE, PageVoter::DELETE) as $role)…
|
H A D | add_new_tab.php | 27 use PrestaShopBundle\Security\Voter\PageVoter; alias 130 …foreach (array(PageVoter::CREATE, PageVoter::READ, PageVoter::UPDATE, PageVoter::DELETE) as $role)…
|
/dports/finance/prestashop/prestashop/src/PrestaShopBundle/Controller/Admin/Improve/Modules/ |
H A D | ModuleAbstractController.php | 31 use PrestaShopBundle\Security\Voter\PageVoter; alias 81 PageVoter::LEVEL_READ, 82 PageVoter::LEVEL_UPDATE,
|
/dports/finance/prestashop/prestashop/src/PrestaShopBundle/Controller/Api/ |
H A D | StockController.php | 37 use PrestaShopBundle\Security\Voter\PageVoter; alias 67 if (!$this->isGranted([PageVoter::READ], $request->get('_legacy_controller'))) { 95 if (!$this->isGranted([PageVoter::UPDATE], $request->get('_legacy_controller'))) { 128 if (!$this->isGranted([PageVoter::UPDATE], $request->get('_legacy_controller'))) { 157 if (!$this->isGranted([PageVoter::READ], $request->get('_legacy_controller'))) {
|
/dports/finance/prestashop/prestashop/src/PrestaShopBundle/Controller/Admin/Improve/ |
H A D | ModuleController.php | 43 use PrestaShopBundle\Security\Voter\PageVoter; alias 304 PageVoter::LEVEL_READ, 305 PageVoter::LEVEL_CREATE, 306 PageVoter::LEVEL_DELETE, 307 PageVoter::LEVEL_UPDATE, 364 $deniedAccess = $this->checkPermission(PageVoter::UPDATE); 367 $deniedAccess = $this->checkPermission(PageVoter::CREATE); 370 $deniedAccess = $this->checkPermission(PageVoter::DELETE); 523 PageVoter::LEVEL_CREATE, 524 PageVoter::LEVEL_DELETE,
|
/dports/finance/prestashop/prestashop/src/PrestaShopBundle/Controller/Admin/ |
H A D | ProductController.php | 56 use PrestaShopBundle\Security\Voter\PageVoter; alias 126 …if (!$this->isGranted([PageVoter::READ, PageVoter::UPDATE, PageVoter::CREATE], self::PRODUCT_OBJEC… 274 if (!$this->isGranted([PageVoter::READ], self::PRODUCT_OBJECT)) { 401 if (!$this->isGranted(PageVoter::CREATE, self::PRODUCT_OBJECT)) { 453 …if (!$this->isGranted([PageVoter::READ, PageVoter::UPDATE, PageVoter::CREATE], self::PRODUCT_OBJEC… 664 'editable' => $this->isGranted(PageVoter::UPDATE, self::PRODUCT_OBJECT), 916 if (!$this->isGranted(PageVoter::UPDATE, self::PRODUCT_OBJECT)) {
|
H A D | FrameworkBundleAdminController.php | 36 use PrestaShopBundle\Security\Voter\PageVoter; alias
|
/dports/finance/prestashop/prestashop/src/PrestaShopBundle/Controller/Admin/Sell/Catalog/Product/ |
H A D | ProductController.php | 40 use PrestaShopBundle\Security\Voter\PageVoter; alias 178 'editable' => $this->isGranted(PageVoter::UPDATE, self::PRODUCT_CONTROLLER_PERMISSION),
|
/dports/finance/prestashop/prestashop/src/PrestaShopBundle/Resources/config/services/bundle/ |
H A D | security.yml | 2 prestashop.security.voter.product.class: PrestaShopBundle\Security\Voter\PageVoter
|
/dports/finance/prestashop/prestashop/app/config/ |
H A D | config_test.yml | 3 prestashop.security.voter.product.class: LegacyTests\PrestaShopBundle\Mock\PageVoter
|
/dports/finance/prestashop/prestashop/src/PrestaShopBundle/Security/Voter/ |
H A D | PageVoter.php | 37 class PageVoter extends Voter class
|
/dports/finance/prestashop/prestashop/src/PrestaShopBundle/Controller/Admin/Improve/International/ |
H A D | CurrencyController.php | 66 use PrestaShopBundle\Security\Voter\PageVoter; alias 408 if (!in_array($authLevel, [PageVoter::LEVEL_UPDATE, PageVoter::LEVEL_DELETE])) {
|
/dports/finance/prestashop/prestashop/src/PrestaShopBundle/Controller/Admin/Improve/Design/ |
H A D | ThemeController.php | 59 use PrestaShopBundle\Security\Voter\PageVoter; alias 453 $this->isGranted(PageVoter::UPDATE, $request->attributes->get('_legacy_controller'));
|
/dports/finance/prestashop/prestashop/src/PrestaShopBundle/Resources/views/Admin/Module/Includes/ |
H A D | menu_top.html.twig | 56 …{% if level > constant('PrestaShopBundle\\Security\\Voter\\PageVoter::LEVEL_UPDATE') and bulkActio…
|
H A D | modal_import.html.twig | 34 … {% if level <= constant('PrestaShopBundle\\Security\\Voter\\PageVoter::LEVEL_UPDATE') %}
|
H A D | modal_addons_connect.html.twig | 34 {% if level <= constant('PrestaShopBundle\\Security\\Voter\\PageVoter::LEVEL_UPDATE') %}
|
/dports/finance/prestashop/prestashop/src/PrestaShopBundle/Resources/views/Admin/Module/ |
H A D | updates.html.twig | 41 …|length > 1) and (level >= constant('PrestaShopBundle\\Security\\Voter\\PageVoter::LEVEL_UPDATE'))…
|