id: d5_user_role label: Drupal 5 user roles migration_tags: - Drupal 5 source: plugin: d6_user_role process: id: - plugin: machine_name source: name - plugin: user_update_8002 label: name permissions: - plugin: static_map source: permissions bypass: true map: 'use PHP for block visibility': 'use PHP for settings' 'post comments without approval': 'skip comment approval' 'create forum topics' : 'create forum content' 'edit own forum topics' : 'edit own forum content' - plugin: system_update_7000 - plugin: node_update_7008 - plugin: flatten - plugin: filter_format_permission migration: d5_filter_format # A special flag so we can migrate permissions that do not exist yet. # @todo Remove in https://www.drupal.org/project/drupal/issues/2953111. skip_missing_permission_deprecation: plugin: default_value default_value: true destination: plugin: entity:user_role migration_dependencies: required: - d5_filter_format