Skip to content

Commit

Permalink
Structure sync + start of editor role.
Browse files Browse the repository at this point in the history
  • Loading branch information
rosiel committed Nov 14, 2023
1 parent 0e2da1e commit 965ce4c
Show file tree
Hide file tree
Showing 15 changed files with 344 additions and 86 deletions.
2 changes: 2 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
"drupal/hal": "^2.0",
"drupal/leaflet": "^10.1",
"drupal/matomo": "^1.19",
"drupal/override_node_options": "^2.7",
"drupal/pathauto": "^1.12",
"drupal/pdf": "^1.1",
"drupal/rest_oai_pmh": "^2.0@beta",
Expand All @@ -56,6 +57,7 @@
"drupal/title_length": "^2.0@RC",
"drupal/transliterate_filenames": "^2.0",
"drupal/twig_tweak": "^3.2",
"drupal/view_unpublished": "^1.1",
"drupal/views_bulk_edit": "*",
"drupal/views_bulk_operations": "*",
"drupal/views_data_export": "^1.2",
Expand Down
112 changes: 111 additions & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions config/sync/core.extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ module:
twig_tweak: 0
update: 0
user: 0
view_unpublished: 0
views_bulk_edit: 0
views_bulk_operations: 0
views_data_export: 0
Expand Down
37 changes: 37 additions & 0 deletions config/sync/structure_sync.data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,43 @@ blocks:
value: '<p>This book has not yet been digitized. If this is your book, and you would like to give us permission to display it, please contact the Robertson Library.</p>'
summary: ''
format: basic_html
menus:
-
menu_name: main
title: 'Browse by Title'
parent: null
uri: 'internal:/books/titles'
link_title: ''
description: null
enabled: true
expanded: false
weight: 0
langcode: en
uuid: 150978f4-0c33-4752-a101-70b6edc90b68
-
menu_name: main
title: 'Browse by Place'
parent: null
uri: 'internal:/places'
link_title: ''
description: 'List places referenced in our collection'
enabled: true
expanded: false
weight: 2
langcode: en
uuid: a01568b7-efd1-4dc1-9885-a2d1f67d6dcc
-
menu_name: main
title: 'Browse on Map'
parent: null
uri: 'internal:/map'
link_title: ''
description: 'map-based view of books'
enabled: true
expanded: false
weight: 3
langcode: en
uuid: 5ac8a8b8-0658-4a2c-8c1d-1c66b826073d
taxonomies:
conference:
-
Expand Down
14 changes: 0 additions & 14 deletions config/sync/system.action.user_add_role_action.content_editor.yml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
uuid: e5a994de-75ab-4492-85cc-259000734bd1
langcode: en
status: true
dependencies:
config:
- user.role.island_lives_editor
module:
- user
id: user_add_role_action.island_lives_editor
label: 'Add the Island Lives Editor role to the selected user(s)'
type: user
plugin: user_add_role_action
configuration:
rid: island_lives_editor

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
uuid: 733f52dd-6bd8-429f-a180-d798e0ff62de
langcode: en
status: true
dependencies:
config:
- user.role.island_lives_editor
module:
- user
id: user_remove_role_action.island_lives_editor
label: 'Remove the Island Lives Editor role from the selected user(s)'
type: user
plugin: user_remove_role_action
configuration:
rid: island_lives_editor
2 changes: 1 addition & 1 deletion config/sync/user.role.administrator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ _core:
default_config_hash: OeKGIkmZA_c-t6QLH81WNQx8gDCc1MRmxaTuQgxBByU
id: administrator
label: Administrator
weight: 3
weight: -7
is_admin: true
permissions: { }
2 changes: 1 addition & 1 deletion config/sync/user.role.anonymous.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ _core:
default_config_hash: 6WavjUYXIegP9AAg2zXGx54MWIVoomC3SZhNiqe-Dyk
id: anonymous
label: 'Anonymous user'
weight: 0
weight: -10
is_admin: false
permissions:
- 'access comments'
Expand Down
2 changes: 1 addition & 1 deletion config/sync/user.role.authenticated.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ _core:
default_config_hash: I44QAB4es39lNzMQWiJLq2dfjX7VRSOzT_5KzAcUq_M
id: authenticated
label: 'Authenticated user'
weight: 1
weight: -9
is_admin: false
permissions:
- 'access comments'
Expand Down
49 changes: 0 additions & 49 deletions config/sync/user.role.content_editor.yml

This file was deleted.

Loading

0 comments on commit 965ce4c

Please sign in to comment.