Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-16453

Always load permission lang files before core.permissions

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.2.10-RC1, 3.3.1-RC1
    • 3.2.9, 3.3.0
    • Permissions
    • None

      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.

            kasimi kasimi
            kasimi kasimi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: