Rename some user roles.

administrator -> manager
proofreader -> contributor
content administrator -> editor
This commit is contained in:
David Valdez 2019-09-30 16:05:46 -05:00
parent a64b7e11b4
commit 9b8dc97174

View file

@ -17,32 +17,23 @@ process:
- -
plugin: machine_name plugin: machine_name
source: name source: name
-
plugin: static_map
map:
'administrator': 'manager'
'proofreader': 'contributor'
'content_administrator': 'editor'
bypass: TRUE
- -
plugin: user_update_8002 plugin: user_update_8002
label: label:
-
plugin: get
source: name
permissions:
- -
plugin: static_map plugin: static_map
source: permissions source: name
bypass: true
map: map:
'use PHP for block visibility': 'use PHP for settings' 'administrator': 'manager'
'administer site-wide contact form': 'administer contact forms' 'proofreader': 'contributor'
'post comments without approval': 'skip comment approval' 'content administrator': 'editor'
'edit own blog entries': 'edit own blog content'
'edit any blog entry': 'edit any blog content'
'delete own blog entries': 'delete own blog content'
'delete any blog entry': 'delete any blog content'
'create forum topics': 'create forum content'
'delete any forum topic': 'delete any forum content'
'delete own forum topics': 'delete own forum content'
'edit any forum topic': 'edit any forum content'
'edit own forum topics': 'edit own forum content'
-
plugin: flatten
weight: weight:
- -
plugin: get plugin: get