Issue #2239915 by D34dMan, juliangb: Migrate support added. Individual modules can call pmpermission_migrate_execute($module_name); to perform migration.