d6_user_role.yml

Same filename in other branches
  1. 9 core/modules/user/migrations/d6_user_role.yml
  2. 10 core/modules/user/migrations/d6_user_role.yml
  3. 11.x core/modules/user/migrations/d6_user_role.yml
core/modules/user/migrations/d6_user_role.yml

File

core/modules/user/migrations/d6_user_role.yml

View source
  1. id: d6_user_role
  2. label: User roles
  3. migration_tags:
  4. - Drupal 6
  5. - Configuration
  6. source:
  7. plugin: d6_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: system_update_7000
  35. - plugin: node_update_7008
  36. - plugin: flatten
  37. - plugin: filter_format_permission
  38. destination:
  39. plugin: entity:user_role
  40. migration_dependencies:
  41. required:
  42. - d6_filter_format

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.