Security update for Core, with self-updated composer
[yaffs-website] / web / core / modules / user / migration_templates / d6_user_role.yml
1 id: d6_user_role
2 label: User roles
3 migration_tags:
4   - Drupal 6
5 source:
6   plugin: d6_user_role
7 process:
8   id:
9     -
10       plugin: machine_name
11       source: name
12     -
13       plugin: user_update_8002
14   label: name
15   permissions:
16     -
17       plugin: static_map
18       source: permissions
19       bypass: true
20       map:
21         'use PHP for block visibility': 'use PHP for settings'
22         'administer site-wide contact form': 'administer contact forms'
23         'post comments without approval': 'skip comment approval'
24         'edit own blog entries': 'edit own blog content'
25         'edit any blog entry': 'edit any blog content'
26         'delete own blog entries': 'delete own blog content'
27         'delete any blog entry': 'delete any blog content'
28         'create forum topics': 'create forum content'
29         'delete any forum topic': 'delete any forum content'
30         'delete own forum topics': 'delete own forum content'
31         'edit any forum topic': 'edit any forum content'
32         'edit own forum topics': 'edit own forum content'
33     - plugin: system_update_7000
34     - plugin: node_update_7008
35     - plugin: flatten
36     - plugin: filter_format_permission
37 destination:
38   plugin: entity:user_role
39 migration_dependencies:
40   required:
41     - d6_filter_format