Skip to content

Dynamic use of protected or custom tag

Code validator enhancements to determine the use of customizable or protected mode per file.

This is aimed more towards the FE repositories and pipelines. At the moment FE code uses only Customizable area tag`` However, in the future the code may decide to use Protected Area` tags.

  1. If only Protected Area tag is present in the file, consider that the file uses this tag to mark Protected code.
  2. If only Customizable Area tag is present in the file, consider that the file uses this tag to mark Customizable code.
  3. If both 'Protected Area' and Customizable Area tags are present in the file, Customizable Area tag takes precedence. Code marked with this tag only is customizable. Rest of the code is protected in the file.

Merge request reports