[feature/revisions] Add permissions in migration

PHPBB3-10755