[ticket/13171] Check the correct (soft)delete permission when deleting in MCP

PHPBB3-13171
Merge pull request #3041 from nickvergessen/ticket/13171

[ticket/13171] Check the correct (soft)delete permission when deleting in MCP