Home
last modified time | relevance | path

Searched refs:PageVoter (Results 1 – 21 of 21) sorted by relevance

/dports/finance/prestashop/prestashop/src/PrestaShopBundle/Controller/Admin/Configure/AdvancedParameters/
H A DMemcacheServerController.php33 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 DImportController.php36 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 DEmailController.php36 use PrestaShopBundle\Security\Voter\PageVoter; alias
241 PageVoter::LEVEL_READ,
242 PageVoter::LEVEL_UPDATE,
243 PageVoter::LEVEL_CREATE,
244 PageVoter::LEVEL_DELETE,
H A DEmployeeController.php53 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 Dcopy_tab_rights.php27 use PrestaShopBundle\Security\Voter\PageVoter; alias
34 …foreach (array(PageVoter::CREATE, PageVoter::READ, PageVoter::UPDATE, PageVoter::DELETE) as $role)…
H A Dadd_new_tab.php27 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 DModuleAbstractController.php31 use PrestaShopBundle\Security\Voter\PageVoter; alias
81 PageVoter::LEVEL_READ,
82 PageVoter::LEVEL_UPDATE,
/dports/finance/prestashop/prestashop/src/PrestaShopBundle/Controller/Api/
H A DStockController.php37 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 DModuleController.php43 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 DProductController.php56 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 DFrameworkBundleAdminController.php36 use PrestaShopBundle\Security\Voter\PageVoter; alias
/dports/finance/prestashop/prestashop/src/PrestaShopBundle/Controller/Admin/Sell/Catalog/Product/
H A DProductController.php40 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 Dsecurity.yml2 prestashop.security.voter.product.class: PrestaShopBundle\Security\Voter\PageVoter
/dports/finance/prestashop/prestashop/app/config/
H A Dconfig_test.yml3 prestashop.security.voter.product.class: LegacyTests\PrestaShopBundle\Mock\PageVoter
/dports/finance/prestashop/prestashop/src/PrestaShopBundle/Security/Voter/
H A DPageVoter.php37 class PageVoter extends Voter class
/dports/finance/prestashop/prestashop/src/PrestaShopBundle/Controller/Admin/Improve/International/
H A DCurrencyController.php66 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 DThemeController.php59 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 Dmenu_top.html.twig56 …{% if level > constant('PrestaShopBundle\\Security\\Voter\\PageVoter::LEVEL_UPDATE') and bulkActio…
H A Dmodal_import.html.twig34 … {% if level <= constant('PrestaShopBundle\\Security\\Voter\\PageVoter::LEVEL_UPDATE') %}
H A Dmodal_addons_connect.html.twig34 {% if level <= constant('PrestaShopBundle\\Security\\Voter\\PageVoter::LEVEL_UPDATE') %}
/dports/finance/prestashop/prestashop/src/PrestaShopBundle/Resources/views/Admin/Module/
H A Dupdates.html.twig41 …|length > 1) and (level >= constant('PrestaShopBundle\\Security\\Voter\\PageVoter::LEVEL_UPDATE'))…