[ticket/13158] Allow adding extra auth checks when the user is posting

PHPBB3-13158
Merge pull request #3213 from brunoais/ticket/13158

[ticket/13158] Allow adding extra auth checks when the user is posting