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

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