Bugfix: adjusted permission name and actual permission array used for legacy permission migration.