[ticket/13159] Allow to do extra auth checks on report posting

https://tracker.phpbb.com/browse/PHPBB3-13159
PHPBB3-13159