brunoais/phpbb3 — comment on commit a371ca36687ee7ebfaa23489af875787f6106e30
File: phpBB/posting.php line 219
By brunoais:

You may be wondering why do I only check if the mode is quote, replay, edit and delete.
The reason is simple (except for delete):
If mode is post, then it's a creating of a new thread. This permission does not mess with the creation of new threads. (also the info this needs to verify is not available)
If mode is bump, then it's bumping. It's not this permission's concern if the user can bump the thread or not.
By the source code, if it's popup or smilies, execution will never reach here.
I'm in doubt if this permission should mess up with the delete post system so I added it. Should I remove it?
That is all.