Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-28778

eZ Platform Admin UI config is exposed in site templates

    XMLWordPrintable

    Details

      Description

      The Twig extension EzSystems\EzPlatformAdminUiBundle\Templating\Twig\UiConfigExtension exposes global variable admin_ui_config for Admin interface.

      This variable should be available only in the Admin context but is present also when rendering site (front) templates.
      It also has a minor impact on performance because configuration is aggregated from multiple providers.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              andrzej.longosz@ez.no Andrzej Longosz
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: