Added Entity and Entity Reference Revisions which got dropped somewhere along the...
[yaffs-website] / web / core / modules / user / migrations / d7_user_role.yml
1 id: d7_user_role
2 label: User roles
3 migration_tags:
4   - Drupal 7
5   - Configuration
6 source:
7   plugin: d7_user_role
8 process:
9   id:
10     -
11       plugin: machine_name
12       source: name
13     -
14       plugin: user_update_8002
15   label: name
16   permissions:
17     -
18       plugin: static_map
19       source: permissions
20       bypass: true
21       map:
22         'use PHP for block visibility': 'use PHP for settings'
23         'administer site-wide contact form': 'administer contact forms'
24         'post comments without approval': 'skip comment approval'
25         'edit own blog entries': 'edit own blog content'
26         'edit any blog entry': 'edit any blog content'
27         'delete own blog entries': 'delete own blog content'
28         'delete any blog entry': 'delete any blog content'
29         'create forum topics': 'create forum content'
30         'delete any forum topic': 'delete any forum content'
31         'delete own forum topics': 'delete own forum content'
32         'edit any forum topic': 'edit any forum content'
33         'edit own forum topics': 'edit own forum content'
34     - plugin: flatten
35   weight: weight
36 destination:
37   plugin: entity:user_role
38 migration_dependencies:
39   optional:
40     - d7_filter_format