You are here

d6_user_role.yml in Zircon Profile 8.0

Same filename and directory in other branches
  1. 8 core/modules/user/migration_templates/d6_user_role.yml
core/modules/user/migration_templates/d6_user_role.yml

File

core/modules/user/migration_templates/d6_user_role.yml
View source
  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: dedupe_entity
  14. entity_type: user_role
  15. field: id
  16. length: 32
  17. -
  18. plugin: user_update_8002
  19. label: name
  20. permissions:
  21. -
  22. plugin: static_map
  23. source: permissions
  24. bypass: true
  25. map:
  26. 'use PHP for block visibility': 'use PHP for settings'
  27. 'administer site-wide contact form': 'administer contact forms'
  28. 'post comments without approval': 'skip comment approval'
  29. 'edit own blog entries' : 'edit own blog content'
  30. 'edit any blog entry' : 'edit any blog content'
  31. 'delete own blog entries' : 'delete own blog content'
  32. 'delete any blog entry' : 'delete any blog content'
  33. 'create forum topics' : 'create forum content'
  34. 'delete any forum topic' : 'delete any forum content'
  35. 'delete own forum topics' : 'delete own forum content'
  36. 'edit any forum topic' : 'edit any forum content'
  37. 'edit own forum topics' : 'edit own forum content'
  38. - plugin: system_update_7000
  39. - plugin: node_update_7008
  40. - plugin: flatten
  41. - plugin: filter_format_permission
  42. destination:
  43. plugin: entity:user_role
  44. migration_dependencies:
  45. required:
  46. - d6_filter_format