[ticket/12123] Add soft delete to phpbb/permissions.php.

PHPBB3-12123
Merge remote-tracking branch 'prototech/ticket/12123' into develop