PrestaShop Developer Conference
PrestaShop Developer Conference
Paris, France - November 6, 2024
Let's talk code, commerce and open source.

Notice: You are browsing the documentation for PrestaShop 9, which is currently in development.

You might want to read the documentation for the current version, PrestaShop 8. Read the current version of this page

prestashop:linter:security-annotation

Informations

  • Path: src/PrestaShopBundle/Command/SecurityAnnotationLinterCommand.php
  • Arguments:
    • action: Action to perform, must be one of: list and find-missing

Description

This command aims to check if Back Office controller routes have configured Security annotations.

Two options are available: Listing and Finding Missing.

Listing

This option aims to list all routes, and their related permissions.

Finding missing

This option aims to find routes with missing security annotations.