Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-16453

Always load permission lang files before core.permissions

    Details

      Description

      Extensions that add their permissions in the core.permissions event might use the language service to resolve a language key ('lang' => $language->lang('KEY')), rather than specifying the key itself ('lang' => 'KEY'). The core.permissions event is triggered in the constructor of the acl.permissions service. Therefore, all permissions_ language files should be auto-included before the acl.permissions service is instantiated.

        Attachments

          Activity

            People

            • Assignee:
              kasimi kasimi
              Reporter:
              kasimi kasimi
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: