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

Event core.modify_posting_auth does not honor its parameters

    XMLWordPrintable

    Details

      Description

      The event core.modify_posting_auth documents the use of the is_authed and error variables to perform extra authorizations from extensions, however, neither of both works as expected.

      The is_authed var, if set to true, stops execution, but the message shown is wrong.

      The error var is not considered at all, does not stop execution, or is presented to the end user, as it should.

      Also, the mode is modified before the event, and used after it, assuming that the event will make the same change, without documenting it (in fact, documenting that it should NOT be modified).

        Attachments

          Activity

            People

            Assignee:
            Marc Marc
            Reporter:
            javiexin javiexin [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: