diff --git a/src/composer.json b/src/composer.json index 8bacc10..240a214 100644 --- a/src/composer.json +++ b/src/composer.json @@ -16,6 +16,7 @@ ], "require": { "composer/installers": "^1.9", + "drupal/administerusersbyrole": "^3.3", "drupal/amswap": "^3.1", "drupal/audiofield": "1.x-dev@dev", "drupal/core-composer-scaffold": "^9.4", @@ -28,6 +29,7 @@ "drupal/mail_login": "^2.6", "drupal/paragraphs": "^1.15", "drupal/restui": "^1.21", + "drupal/role_delegation": "^1.2", "drupal/structure_sync": "^2.0", "drupal/typed_data": "1.x-dev@dev", "wikimedia/composer-merge-plugin": "^2.0" diff --git a/src/composer.lock b/src/composer.lock index 2e0cbeb..fb9b2e8 100644 --- a/src/composer.lock +++ b/src/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "e04a9fdd4b9a33911f1ff69d9f38e29c", + "content-hash": "738ea5aca8b978a6f7588d32987b2071", "packages": [ { "name": "alchemy/zippy", @@ -2355,6 +2355,58 @@ "issues": "https://www.drupal.org/project/issues/adminimal_theme" } }, + { + "name": "drupal/administerusersbyrole", + "version": "3.3.0", + "source": { + "type": "git", + "url": "https://git.drupalcode.org/project/administerusersbyrole.git", + "reference": "8.x-3.3" + }, + "dist": { + "type": "zip", + "url": "https://ftp.drupal.org/files/projects/administerusersbyrole-8.x-3.3.zip", + "reference": "8.x-3.3", + "shasum": "fb936106724af431d77387ef0f48107b08dfbe55" + }, + "require": { + "drupal/core": "^8 || ^9 || ^10" + }, + "type": "drupal-module", + "extra": { + "drupal": { + "version": "8.x-3.3", + "datestamp": "1665571039", + "security-coverage": { + "status": "covered", + "message": "Covered by Drupal's security advisory policy" + } + } + }, + "notification-url": "https://packages.drupal.org/8/downloads", + "license": [ + "GPL-2.0-or-later" + ], + "authors": [ + { + "name": "AdamPS", + "homepage": "https://www.drupal.org/user/2650563" + }, + { + "name": "mrfelton", + "homepage": "https://www.drupal.org/user/305669" + }, + { + "name": "smokris", + "homepage": "https://www.drupal.org/user/161913" + } + ], + "description": "Allows site builders to set up fine-grained permissions for allowing \"sub-admin\" users to edit and delete other users.", + "homepage": "https://www.drupal.org/project/administerusersbyrole", + "support": { + "source": "https://git.drupalcode.org/project/administerusersbyrole" + } + }, { "name": "drupal/advanced_text_formatter", "version": "2.1.1", @@ -7364,6 +7416,56 @@ "source": "https://git.drupalcode.org/project/restui" } }, + { + "name": "drupal/role_delegation", + "version": "1.2.0", + "source": { + "type": "git", + "url": "https://git.drupalcode.org/project/role_delegation.git", + "reference": "8.x-1.2" + }, + "dist": { + "type": "zip", + "url": "https://ftp.drupal.org/files/projects/role_delegation-8.x-1.2.zip", + "reference": "8.x-1.2", + "shasum": "08095bada0f492e70d32fcf357a8c01825ca81fc" + }, + "require": { + "drupal/core": "^9.2 || ^10" + }, + "type": "drupal-module", + "extra": { + "drupal": { + "version": "8.x-1.2", + "datestamp": "1644487627", + "security-coverage": { + "status": "covered", + "message": "Covered by Drupal's security advisory policy" + } + } + }, + "notification-url": "https://packages.drupal.org/8/downloads", + "license": [ + "GPL-2.0-or-later" + ], + "authors": [ + { + "name": "Jeroen Tubex", + "homepage": "https://www.drupal.org/u/jeroent", + "role": "Maintainer" + }, + { + "name": "benjy", + "homepage": "https://www.drupal.org/user/1852732" + } + ], + "description": "Allows site administrators to grant some roles the authority to assign selected roles to users.", + "homepage": "http://drupal.org/project/role_delegation", + "support": { + "source": "https://git.drupalcode.org/project/role_delegation", + "issues": "http://drupal.org/project/role_delegation" + } + }, { "name": "drupal/search_api", "version": "1.25.0", diff --git a/src/config/sync/administerusersbyrole.settings.yml b/src/config/sync/administerusersbyrole.settings.yml new file mode 100644 index 0000000..721a88a --- /dev/null +++ b/src/config/sync/administerusersbyrole.settings.yml @@ -0,0 +1,8 @@ +_core: + default_config_hash: UiTY9bhUKWJOIWDlOKM3akeeyHuJJRspXETsv3SY6jw +langcode: fr +roles: + admin: perm + user: unsafe + group_admin: perm + group_member: perm diff --git a/src/config/sync/core.extension.yml b/src/config/sync/core.extension.yml index 49dd07d..68d77cf 100644 --- a/src/config/sync/core.extension.yml +++ b/src/config/sync/core.extension.yml @@ -6,6 +6,7 @@ module: admin_menus: 0 admin_toolbar: 0 admin_toolbar_links_access_filter: 0 + administerusersbyrole: 0 advanced_text_formatter: 0 amswap: 0 audiofield: 0 @@ -56,6 +57,7 @@ module: flexible_permissions: 0 formatter_suite: 0 genpass: 0 + gnode: 0 graphql: 0 group: 0 help: 0 @@ -96,6 +98,7 @@ module: responsive_image: 0 rest: 0 restui: 0 + role_delegation: 0 search_api: 0 search_api_db: 0 serialization: 0 diff --git a/src/config/sync/group.role.bourgeon-admin_group_insider.yml b/src/config/sync/group.role.bourgeon-admin_group_insider.yml new file mode 100644 index 0000000..1f97e7b --- /dev/null +++ b/src/config/sync/group.role.bourgeon-admin_group_insider.yml @@ -0,0 +1,12 @@ +uuid: 8e3ed090-008a-4699-88c5-3cfe2aa0dcfc +langcode: fr +status: true +dependencies: { } +id: bourgeon-admin_group_insider +label: 'admin group insider' +weight: -6 +admin: true +scope: insider +global_role: group_admin +group_type: bourgeon +permissions: { } diff --git a/src/config/sync/group.role.bourgeon-admin.yml b/src/config/sync/group.role.bourgeon-admin_insider.yml similarity index 55% rename from src/config/sync/group.role.bourgeon-admin.yml rename to src/config/sync/group.role.bourgeon-admin_insider.yml index c9ecc6e..dc7508a 100644 --- a/src/config/sync/group.role.bourgeon-admin.yml +++ b/src/config/sync/group.role.bourgeon-admin_insider.yml @@ -1,10 +1,10 @@ -uuid: e0a39640-e592-44e7-ba76-72e581bf0873 +uuid: 4b8abb07-395c-4f73-91e6-abab65d7f6d8 langcode: fr status: true dependencies: { } -id: bourgeon-admin -label: Admin -weight: null +id: bourgeon-admin_insider +label: 'admin insider' +weight: -7 admin: true scope: insider global_role: admin diff --git a/src/config/sync/group.role.bourgeon-admin_outsider.yml b/src/config/sync/group.role.bourgeon-admin_outsider.yml new file mode 100644 index 0000000..b7edcc3 --- /dev/null +++ b/src/config/sync/group.role.bourgeon-admin_outsider.yml @@ -0,0 +1,12 @@ +uuid: c04794f1-5774-49e0-a2ec-b643df3e6bca +langcode: fr +status: true +dependencies: { } +id: bourgeon-admin_outsider +label: 'admin outsider' +weight: -8 +admin: true +scope: outsider +global_role: admin +group_type: bourgeon +permissions: { } diff --git a/src/config/sync/group.role.bourgeon-anonyme_outsider.yml b/src/config/sync/group.role.bourgeon-anonyme_outsider.yml new file mode 100644 index 0000000..f7ecded --- /dev/null +++ b/src/config/sync/group.role.bourgeon-anonyme_outsider.yml @@ -0,0 +1,13 @@ +uuid: a5f80bdf-5d0d-43e5-be16-f492b87cb266 +langcode: fr +status: true +dependencies: { } +id: bourgeon-anonyme_outsider +label: anonyme-outsider +weight: null +admin: false +scope: outsider +global_role: anonymous +group_type: bourgeon +permissions: + - 'view group' diff --git a/src/config/sync/group.role.bourgeon-member.yml b/src/config/sync/group.role.bourgeon-member.yml new file mode 100644 index 0000000..9021e7f --- /dev/null +++ b/src/config/sync/group.role.bourgeon-member.yml @@ -0,0 +1,14 @@ +uuid: 31f56124-7c63-450e-8b2d-95373d27cf52 +langcode: fr +status: true +dependencies: { } +id: bourgeon-member +label: Member +weight: -5 +admin: false +scope: insider +global_role: group_member +group_type: bourgeon +permissions: + - 'view group' + - 'view group_membership relationship' diff --git a/src/config/sync/group.role.bourgeon-root_insider.yml b/src/config/sync/group.role.bourgeon-root_insider.yml new file mode 100644 index 0000000..bcce1e1 --- /dev/null +++ b/src/config/sync/group.role.bourgeon-root_insider.yml @@ -0,0 +1,12 @@ +uuid: cb3aed4a-9196-46be-98f1-4b68c0a869e5 +langcode: fr +status: true +dependencies: { } +id: bourgeon-root_insider +label: root-insider +weight: -9 +admin: true +scope: insider +global_role: root +group_type: bourgeon +permissions: { } diff --git a/src/config/sync/group.role.bourgeon-root_outsider.yml b/src/config/sync/group.role.bourgeon-root_outsider.yml new file mode 100644 index 0000000..e9eba32 --- /dev/null +++ b/src/config/sync/group.role.bourgeon-root_outsider.yml @@ -0,0 +1,12 @@ +uuid: f2afaf76-ffa9-40f3-9af1-16431231225f +langcode: fr +status: true +dependencies: { } +id: bourgeon-root_outsider +label: 'root outsider' +weight: -10 +admin: true +scope: outsider +global_role: root +group_type: bourgeon +permissions: { } diff --git a/src/config/sync/pagerer.style.standard.yml b/src/config/sync/pagerer.style.standard.yml index ff2318b..522edf2 100644 --- a/src/config/sync/pagerer.style.standard.yml +++ b/src/config/sync/pagerer.style.standard.yml @@ -27,10 +27,10 @@ default_config: first: '« First' first_title: 'Aller à la première page' first_reader: 'Première page' - previous: '‹ Précédent' + previous: '‹ Previous' previous_title: 'Aller à la page précédente' previous_reader: 'Page précédente' - next: 'Suivant ›' + next: 'Next ›' next_title: 'Aller à la page suivante' next_reader: 'Page suivante' last: 'Last »' @@ -50,10 +50,10 @@ default_config: first: '« First' first_title: 'Go to first item' first_reader: 'Premier élément' - previous: '‹ Précédent' + previous: '‹ Previous' previous_title: 'Go to previous items' previous_reader: 'Previous items' - next: 'Suivant ›' + next: 'Next ›' next_title: 'Go to next items' next_reader: 'Next items' last: 'Last »' @@ -73,10 +73,10 @@ default_config: first: '« First' first_title: 'Go to first items' first_reader: 'First items' - previous: '‹ Précédent' + previous: '‹ Previous' previous_title: 'Go to previous items' previous_reader: 'Previous items' - next: 'Suivant ›' + next: 'Next ›' next_title: 'Go to next items' next_reader: 'Next items' last: 'Last »' diff --git a/src/config/sync/system.action.user_add_role_action.group_admin.yml b/src/config/sync/system.action.user_add_role_action.group_admin.yml new file mode 100644 index 0000000..977f5ac --- /dev/null +++ b/src/config/sync/system.action.user_add_role_action.group_admin.yml @@ -0,0 +1,14 @@ +uuid: 3f38fa29-0c14-4dfc-8030-311f69427c36 +langcode: fr +status: true +dependencies: + config: + - user.role.group_admin + module: + - user +id: user_add_role_action.group_admin +label: 'Ajouter le rôle group admin aux utilisateurs sélectionnés' +type: user +plugin: user_add_role_action +configuration: + rid: group_admin diff --git a/src/config/sync/system.action.user_add_role_action.group_member.yml b/src/config/sync/system.action.user_add_role_action.group_member.yml new file mode 100644 index 0000000..6fa94fc --- /dev/null +++ b/src/config/sync/system.action.user_add_role_action.group_member.yml @@ -0,0 +1,14 @@ +uuid: d4561dea-b63b-40b1-8af0-07d6cf5520c4 +langcode: fr +status: true +dependencies: + config: + - user.role.group_member + module: + - user +id: user_add_role_action.group_member +label: 'Ajouter le rôle group member aux utilisateurs sélectionnés' +type: user +plugin: user_add_role_action +configuration: + rid: group_member diff --git a/src/config/sync/system.action.user_remove_role_action.group_admin.yml b/src/config/sync/system.action.user_remove_role_action.group_admin.yml new file mode 100644 index 0000000..c96f0a3 --- /dev/null +++ b/src/config/sync/system.action.user_remove_role_action.group_admin.yml @@ -0,0 +1,14 @@ +uuid: b21d242e-2aa5-4b83-8bd5-3a07dea7fccc +langcode: fr +status: true +dependencies: + config: + - user.role.group_admin + module: + - user +id: user_remove_role_action.group_admin +label: 'Enlever le rôle group admin des utilisateurs sélectionnés' +type: user +plugin: user_remove_role_action +configuration: + rid: group_admin diff --git a/src/config/sync/system.action.user_remove_role_action.group_member.yml b/src/config/sync/system.action.user_remove_role_action.group_member.yml new file mode 100644 index 0000000..2701267 --- /dev/null +++ b/src/config/sync/system.action.user_remove_role_action.group_member.yml @@ -0,0 +1,14 @@ +uuid: a3d9e1a3-97b1-40d3-a202-4a00cd1873aa +langcode: fr +status: true +dependencies: + config: + - user.role.group_member + module: + - user +id: user_remove_role_action.group_member +label: 'Enlever le rôle group member des utilisateurs sélectionnés' +type: user +plugin: user_remove_role_action +configuration: + rid: group_member diff --git a/src/config/sync/system.theme.yml b/src/config/sync/system.theme.yml index e854998..b53e8e5 100644 --- a/src/config/sync/system.theme.yml +++ b/src/config/sync/system.theme.yml @@ -1,4 +1,5 @@ _core: default_config_hash: TpdA4rsOBAawnqeon9A-Ooht_4VO3hHKib79xyHcTyg -admin: adminimal_theme langcode: fr +admin: adminimal_theme +default: adminimal_theme diff --git a/src/config/sync/user.role.admin.yml b/src/config/sync/user.role.admin.yml index c63923a..fa24edb 100644 --- a/src/config/sync/user.role.admin.yml +++ b/src/config/sync/user.role.admin.yml @@ -9,11 +9,13 @@ dependencies: - node.type.static module: - actions_permissions + - administerusersbyrole - content_translation - file - filter - group - node + - role_delegation - system - toolbar _core: @@ -29,8 +31,13 @@ permissions: - 'access files overview' - 'access kint' - 'access toolbar' + - 'access user profiles' + - 'access users overview' - 'administer productions menu items' - - 'administer users' + - 'assign group_admin role' + - 'assign group_member role' + - 'cancel users with role group_admin' + - 'cancel users with role group_member' - 'change own username' - 'create bourgeon group' - 'create concernement content' @@ -49,6 +56,7 @@ permissions: - 'create terms in genres' - 'create terms in langues' - 'create terms in locuteurs' + - 'create users' - 'delete any autre_son content' - 'delete any enregistrement content' - 'delete any evenement content' @@ -78,6 +86,9 @@ permissions: - 'edit terms in genres' - 'edit terms in langues' - 'edit terms in locuteurs' + - 'edit users by role' + - 'edit users with role group_admin' + - 'edit users with role group_member' - 'execute entity:save_action menu_link_content' - 'execute entity:save_action node' - 'execute entity:save_action taxonomy_term' @@ -103,6 +114,8 @@ permissions: - 'revert evenement revisions' - 'revert page revisions' - 'revert static revisions' + - 'role-assign users with role group_admin' + - 'role-assign users with role group_member' - 'schedule corpus_documents workflow_transition' - 'schedule generique workflow_transition' - 'translate enregistrement node' @@ -124,3 +137,7 @@ permissions: - 'view page revisions' - 'view static revisions' - 'view the administration theme' + - 'view user email addresses' + - 'view users by role' + - 'view users with role group_admin' + - 'view users with role group_member' diff --git a/src/config/sync/user.role.group_admin.yml b/src/config/sync/user.role.group_admin.yml new file mode 100644 index 0000000..ac9ce1a --- /dev/null +++ b/src/config/sync/user.role.group_admin.yml @@ -0,0 +1,19 @@ +uuid: 0dd28526-9c5f-46ce-a40d-8889503e420b +langcode: fr +status: true +dependencies: + module: + - administerusersbyrole + - role_delegation +id: group_admin +label: 'group admin' +weight: -3 +is_admin: null +permissions: + - 'access users overview' + - 'assign group_member role' + - 'cancel users with role group_member' + - 'create users' + - 'edit users with role group_member' + - 'role-assign users with role group_member' + - 'view users with role group_member' diff --git a/src/config/sync/user.role.group_member.yml b/src/config/sync/user.role.group_member.yml new file mode 100644 index 0000000..9365857 --- /dev/null +++ b/src/config/sync/user.role.group_member.yml @@ -0,0 +1,9 @@ +uuid: b00d65da-067b-449f-85e1-8b38ac043348 +langcode: fr +status: true +dependencies: { } +id: group_member +label: 'group member' +weight: -2 +is_admin: null +permissions: { } diff --git a/src/config/sync/views.view.content.yml b/src/config/sync/views.view.content.yml index a8cb5e5..8cded68 100644 --- a/src/config/sync/views.view.content.yml +++ b/src/config/sync/views.view.content.yml @@ -46,7 +46,7 @@ display: entity_type: node entity_field: title plugin_id: field - label: Titre + label: Title exclude: false alter: alter_text: false @@ -69,7 +69,7 @@ display: entity_type: node entity_field: type plugin_id: field - label: 'Type de contenu' + label: 'Content type' exclude: false alter: alter_text: false @@ -150,7 +150,7 @@ display: entity_type: node entity_field: status plugin_id: field - label: État + label: Status exclude: false alter: alter_text: false @@ -163,8 +163,8 @@ display: type: boolean settings: format: custom - format_custom_false: 'Non publié' - format_custom_true: Publié + format_custom_false: Unpublished + format_custom_true: Published changed: id: changed table: node_field_data @@ -242,14 +242,14 @@ display: options: items_per_page: 50 tags: - next: 'Suivant ›' - previous: '‹ Précédent' + next: 'Next ›' + previous: '‹ Previous' first: '« First' last: 'Last »' exposed_form: type: basic options: - submit_button: Filtrer + submit_button: Filter reset_button: true reset_button_label: Reset exposed_sorts_label: 'Sort by' @@ -269,7 +269,7 @@ display: field: area_text_custom plugin_id: text_custom empty: true - content: 'Aucun contenu disponible.' + content: 'No content available.' sorts: { } arguments: { } filters: @@ -289,7 +289,7 @@ display: exposed: true expose: operator_id: title_op - label: Titre + label: Title description: '' use_operator: false operator: title_op @@ -331,7 +331,7 @@ display: exposed: true expose: operator_id: type_op - label: 'Type de contenu' + label: 'Content type' description: '' use_operator: false operator: type_op @@ -374,7 +374,7 @@ display: exposed: true expose: operator_id: '' - label: État + label: Status description: '' use_operator: false operator: status_op @@ -388,7 +388,7 @@ display: authenticated: authenticated is_grouped: true group_info: - label: 'Statut de publication' + label: 'Published status' description: '' identifier: status optional: true @@ -399,11 +399,11 @@ display: default_group_multiple: { } group_items: 1: - title: Publié + title: Published operator: '=' value: '1' 2: - title: 'Non publié' + title: Unpublished operator: '=' value: '0' langcode: diff --git a/src/config/sync/views.view.content_recent.yml b/src/config/sync/views.view.content_recent.yml index cd4ae5d..0db242d 100644 --- a/src/config/sync/views.view.content_recent.yml +++ b/src/config/sync/views.view.content_recent.yml @@ -155,7 +155,7 @@ display: admin_label: '' plugin_id: text_custom empty: true - content: 'Aucun contenu disponible.' + content: 'No content available.' tokenize: false sorts: changed: diff --git a/src/config/sync/views.view.content_translations.yml b/src/config/sync/views.view.content_translations.yml index 9414759..1f0b7a4 100644 --- a/src/config/sync/views.view.content_translations.yml +++ b/src/config/sync/views.view.content_translations.yml @@ -33,7 +33,7 @@ display: entity_type: node entity_field: title plugin_id: field - label: Titre + label: Title exclude: false alter: alter_text: false diff --git a/src/config/sync/views.view.files.yml b/src/config/sync/views.view.files.yml index 8cd4e52..c687741 100644 --- a/src/config/sync/views.view.files.yml +++ b/src/config/sync/views.view.files.yml @@ -233,7 +233,7 @@ display: entity_type: file entity_field: status plugin_id: field - label: État + label: Status exclude: false alter: alter_text: false @@ -456,8 +456,8 @@ display: total_pages: 0 id: 0 tags: - next: 'Suivant ›' - previous: '‹ Précédent' + next: 'Next ›' + previous: '‹ Previous' expose: items_per_page: false items_per_page_label: 'Items per page' @@ -469,7 +469,7 @@ display: exposed_form: type: basic options: - submit_button: Filtrer + submit_button: Filter reset_button: false reset_button_label: Reset exposed_sorts_label: 'Sort by' @@ -594,7 +594,7 @@ display: exposed: true expose: operator_id: status_op - label: État + label: Status description: '' use_operator: false operator: status_op @@ -991,8 +991,8 @@ display: total_pages: 0 id: 0 tags: - next: 'Suivant ›' - previous: '‹ Précédent' + next: 'Next ›' + previous: '‹ Previous' expose: items_per_page: false items_per_page_label: 'Items per page' diff --git a/src/config/sync/views.view.frontpage.yml b/src/config/sync/views.view.frontpage.yml index 72fe8d9..e74ae4c 100644 --- a/src/config/sync/views.view.frontpage.yml +++ b/src/config/sync/views.view.frontpage.yml @@ -34,8 +34,8 @@ display: total_pages: 0 id: 0 tags: - next: 'Suivant ›' - previous: '‹ Précédent' + next: 'Next ›' + previous: '‹ Previous' first: '« First' last: 'Last »' expose: diff --git a/src/config/sync/views.view.glossary.yml b/src/config/sync/views.view.glossary.yml index bd8611f..ad3b983 100644 --- a/src/config/sync/views.view.glossary.yml +++ b/src/config/sync/views.view.glossary.yml @@ -34,7 +34,7 @@ display: entity_type: node entity_field: title plugin_id: field - label: Titre + label: Title exclude: false alter: alter_text: false diff --git a/src/config/sync/views.view.group_nodes.yml b/src/config/sync/views.view.group_nodes.yml new file mode 100644 index 0000000..f6f339a --- /dev/null +++ b/src/config/sync/views.view.group_nodes.yml @@ -0,0 +1,957 @@ +uuid: f8555968-3235-4ab5-8996-bb5deea257b9 +langcode: fr +status: true +dependencies: + module: + - gnode + - group + - node +_core: + default_config_hash: 50gd6UKSddlPxEUbaEG7l1ZHe5Akog488RFK-jAUkCM +id: group_nodes +label: 'Group nodes' +module: gnode +description: 'Lists all of the nodes that have been added to a group.' +tag: '' +base_table: node_field_data +base_field: nid +display: + default: + id: default + display_title: Master + display_plugin: default + position: 0 + display_options: + title: Nodes + fields: + title: + id: title + table: node_field_data + field: title + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: title + plugin_id: field + label: Title + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: false + ellipsis: false + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: string + settings: + link_to_entity: true + group_column: value + group_columns: { } + group_rows: true + delta_limit: 0 + delta_offset: 0 + delta_reversed: false + delta_first_last: false + multi_type: separator + separator: ', ' + field_api_classes: false + type: + id: type + table: node_field_data + field: type + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: type + plugin_id: field + label: 'Content type' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: target_id + type: entity_reference_label + settings: + link: false + group_column: target_id + group_columns: { } + group_rows: true + delta_limit: 0 + delta_offset: 0 + delta_reversed: false + delta_first_last: false + multi_type: separator + separator: ', ' + field_api_classes: false + status: + id: status + table: node_field_data + field: status + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: status + plugin_id: field + label: Status + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: boolean + settings: + format: custom + format_custom_false: Unpublished + format_custom_true: Published + group_column: value + group_columns: { } + group_rows: true + delta_limit: 0 + delta_offset: 0 + delta_reversed: false + delta_first_last: false + multi_type: separator + separator: ', ' + field_api_classes: false + changed: + id: changed + table: node_field_data + field: changed + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: changed + plugin_id: field + label: Updated + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: timestamp + settings: + date_format: short + custom_date_format: '' + timezone: '' + group_column: value + group_columns: { } + group_rows: true + delta_limit: 0 + delta_offset: 0 + delta_reversed: false + delta_first_last: false + multi_type: separator + separator: ', ' + field_api_classes: false + view_group_relationship: + id: view_group_relationship + table: group_relationship + field: view_group_relationship + relationship: group_relationship + group_type: group + admin_label: 'View relation link' + entity_type: group_relationship + plugin_id: entity_link + label: 'Link to Group relationship' + exclude: true + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + text: 'View relation' + output_url_as_text: false + absolute: false + edit_group_relationship: + id: edit_group_relationship + table: group_relationship + field: edit_group_relationship + relationship: group_relationship + group_type: group + admin_label: 'Edit relation link' + entity_type: group_relationship + plugin_id: entity_link_edit + label: 'Link to edit Group relationship' + exclude: true + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + text: 'Edit relation' + delete_group_relationship: + id: delete_group_relationship + table: group_relationship + field: delete_group_relationship + relationship: group_relationship + group_type: group + admin_label: 'Delete relation link' + entity_type: group_relationship + plugin_id: entity_link_delete + label: 'Link to delete Group relationship' + exclude: true + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + text: 'Delete relation' + edit_node: + id: edit_node + table: node + field: edit_node + relationship: none + group_type: group + admin_label: 'Edit node link' + entity_type: node + plugin_id: entity_link_edit + label: 'Link to edit Content' + exclude: true + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + text: 'Edit node' + delete_node: + id: delete_node + table: node + field: delete_node + relationship: none + group_type: group + admin_label: 'Delete node link' + entity_type: node + plugin_id: entity_link_delete + label: 'Link to delete Content' + exclude: true + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + text: 'Delete node' + dropbutton: + id: dropbutton + table: views + field: dropbutton + relationship: none + group_type: group + admin_label: '' + plugin_id: dropbutton + label: Operations + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + destination: true + fields: + view_group_relationship: view_group_relationship + edit_group_relationship: edit_group_relationship + delete_group_relationship: delete_group_relationship + edit_node: edit_node + delete_node: delete_node + title: '0' + type: '0' + status: '0' + changed: '0' + pager: + type: full + options: + offset: 0 + items_per_page: 50 + total_pages: null + id: 0 + tags: + next: ›› + previous: ‹‹ + first: '« First' + last: 'Last »' + expose: + items_per_page: false + items_per_page_label: 'Items per page' + items_per_page_options: '5, 10, 25, 50' + items_per_page_options_all: false + items_per_page_options_all_label: '- All -' + offset: false + offset_label: Offset + quantity: 9 + exposed_form: + type: basic + options: + submit_button: Apply + reset_button: false + reset_button_label: Reset + exposed_sorts_label: 'Sort by' + expose_sort_order: true + sort_asc_label: Asc + sort_desc_label: Desc + access: + type: group_permission + options: + group_permission: 'access group_node overview' + cache: + type: tag + options: { } + empty: + area_text_custom: + id: area_text_custom + table: views + field: area_text_custom + relationship: none + group_type: group + admin_label: '' + plugin_id: text_custom + empty: true + content: 'No content available.' + tokenize: false + sorts: { } + arguments: + gid: + id: gid + table: group_relationship_field_data + field: gid + relationship: group_relationship + group_type: group + admin_label: '' + entity_type: group_relationship + entity_field: gid + plugin_id: numeric + default_action: 'access denied' + exception: + value: all + title_enable: false + title: All + title_enable: true + title: '{{ arguments.gid|placeholder }} nodes' + default_argument_type: fixed + default_argument_options: + argument: '' + default_argument_skip_url: false + summary_options: + base_path: '' + count: true + override: false + items_per_page: 25 + summary: + sort_order: asc + number_of_records: 0 + format: default_summary + specify_validation: false + validate: + type: none + fail: 'not found' + validate_options: { } + break_phrase: false + not: false + filters: + status: + id: status + table: node_field_data + field: status + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: status + plugin_id: boolean + operator: '=' + value: '1' + group: 1 + exposed: true + expose: + operator_id: '' + label: 'Published status' + description: '' + use_operator: false + operator: status_op + operator_limit_selection: false + operator_list: { } + identifier: status + required: true + remember: false + multiple: false + remember_roles: + authenticated: authenticated + anonymous: '0' + administrator: '0' + group_admin: '0' + is_grouped: true + group_info: + label: 'Published status' + description: '' + identifier: status + optional: true + widget: select + multiple: false + remember: false + default_group: All + default_group_multiple: { } + group_items: + 1: + title: Published + operator: '=' + value: '1' + 2: + title: Unpublished + operator: '=' + value: '0' + type: + id: type + table: node_field_data + field: type + relationship: none + group_type: group + admin_label: '' + entity_type: node + entity_field: type + plugin_id: bundle + operator: in + value: { } + group: 1 + exposed: true + expose: + operator_id: type_op + label: Type + description: '' + use_operator: false + operator: type_op + operator_limit_selection: false + operator_list: { } + identifier: type + required: false + remember: false + multiple: false + remember_roles: + authenticated: authenticated + anonymous: '0' + administrator: '0' + group_admin: '0' + reduce: false + is_grouped: false + group_info: + label: '' + description: '' + identifier: '' + optional: true + widget: select + multiple: false + remember: false + default_group: All + default_group_multiple: { } + group_items: { } + style: + type: table + options: + grouping: { } + row_class: '' + default_row_class: true + columns: + title: title + type: type + status: status + changed: changed + view_group_relationship: view_group_relationship + edit_group_relationship: edit_group_relationship + delete_group_relationship: delete_group_relationship + edit_node: edit_node + delete_node: delete_node + dropbutton: dropbutton + default: changed + info: + title: + sortable: true + default_sort_order: asc + align: '' + separator: '' + empty_column: false + responsive: '' + type: + sortable: true + default_sort_order: asc + align: '' + separator: '' + empty_column: false + responsive: '' + status: + sortable: false + default_sort_order: asc + align: '' + separator: '' + empty_column: false + responsive: '' + changed: + sortable: true + default_sort_order: desc + align: '' + separator: '' + empty_column: false + responsive: '' + view_group_relationship: + sortable: false + default_sort_order: asc + align: '' + separator: '' + empty_column: false + responsive: '' + edit_group_relationship: + sortable: false + default_sort_order: asc + align: '' + separator: '' + empty_column: false + responsive: '' + delete_group_relationship: + sortable: false + default_sort_order: asc + align: '' + separator: '' + empty_column: false + responsive: '' + edit_node: + sortable: false + default_sort_order: asc + align: '' + separator: '' + empty_column: false + responsive: '' + delete_node: + sortable: false + default_sort_order: asc + align: '' + separator: '' + empty_column: false + responsive: '' + dropbutton: + sortable: false + default_sort_order: asc + align: '' + separator: '' + empty_column: false + responsive: '' + override: true + sticky: true + summary: '' + empty_table: true + caption: '' + description: '' + row: + type: fields + options: + default_field_elements: true + inline: { } + separator: '' + hide_empty: false + query: + type: views_query + options: + query_comment: '' + disable_sql_rewrite: false + distinct: false + replica: false + query_tags: { } + relationships: + group_relationship: + id: group_relationship + table: node_field_data + field: group_relationship + relationship: none + group_type: group + admin_label: 'Content relation' + entity_type: node + plugin_id: group_relationship_to_entity_reverse + required: true + group_relation_plugins: { } + header: { } + footer: { } + display_extenders: { } + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - route.group + - url + - url.query_args + - user.group_permissions + - 'user.node_grants:view' + tags: { } + page_1: + id: page_1 + display_title: Page + display_plugin: page + position: 1 + display_options: + display_extenders: { } + path: group/%group/nodes + menu: + type: tab + title: Nodes + description: '' + weight: 25 + enabled: true + expanded: false + menu_name: main + parent: '' + context: '0' + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - route.group + - url + - url.query_args + - user.group_permissions + - 'user.node_grants:view' + tags: { } diff --git a/src/config/sync/views.view.locked_content.yml b/src/config/sync/views.view.locked_content.yml index b6e447a..811c286 100644 --- a/src/config/sync/views.view.locked_content.yml +++ b/src/config/sync/views.view.locked_content.yml @@ -88,7 +88,7 @@ display: entity_type: node entity_field: title plugin_id: field - label: Titre + label: Title exclude: false alter: alter_text: false @@ -135,7 +135,7 @@ display: entity_type: node entity_field: type plugin_id: field - label: 'Type de contenu' + label: 'Content type' exclude: false alter: alter_text: false @@ -487,7 +487,7 @@ display: exposed: true expose: operator_id: '' - label: 'Statut de publication' + label: 'Published status' description: '' use_operator: false operator: status_op @@ -505,7 +505,7 @@ display: administrator: '0' is_grouped: true group_info: - label: 'Statut de publication' + label: 'Published status' description: '' identifier: status optional: true @@ -516,11 +516,11 @@ display: default_group_multiple: { } group_items: 1: - title: Publié + title: Published operator: '=' value: '1' 2: - title: 'Non publié' + title: Unpublished operator: '=' value: '0' type: @@ -539,7 +539,7 @@ display: exposed: true expose: operator_id: type_op - label: 'Type de contenu' + label: 'Content type' description: '' use_operator: false operator: type_op @@ -584,7 +584,7 @@ display: exposed: true expose: operator_id: title_op - label: Titre + label: Title description: '' use_operator: false operator: title_op diff --git a/src/config/sync/views.view.redirect.yml b/src/config/sync/views.view.redirect.yml index 1629418..90fcb26 100644 --- a/src/config/sync/views.view.redirect.yml +++ b/src/config/sync/views.view.redirect.yml @@ -246,7 +246,7 @@ display: exposed_form: type: basic options: - submit_button: Filtrer + submit_button: Filter reset_button: false reset_button_label: Reset exposed_sorts_label: 'Sort by' diff --git a/src/config/sync/views.view.user_admin_people.yml b/src/config/sync/views.view.user_admin_people.yml index 5e29b07..1dabdcb 100644 --- a/src/config/sync/views.view.user_admin_people.yml +++ b/src/config/sync/views.view.user_admin_people.yml @@ -3,11 +3,12 @@ langcode: fr status: true dependencies: module: + - role_delegation - user _core: default_config_hash: njaZigMvB4ap21Fg_tQcJhWgYJCGNi49Z5rRL_N6RI0 id: user_admin_people -label: Personnes +label: People module: user description: 'Trouver et gérer les personnes interagissant avec votre site.' tag: default @@ -20,7 +21,7 @@ display: display_plugin: default position: 0 display_options: - title: Personnes + title: People fields: user_bulk_form: id: user_bulk_form @@ -31,7 +32,7 @@ display: admin_label: '' entity_type: user plugin_id: user_bulk_form - label: 'Mise à jour en masse' + label: 'Bulk update' exclude: false alter: alter_text: false @@ -82,7 +83,7 @@ display: entity_type: user entity_field: name plugin_id: field - label: 'Nom d''utilisateur' + label: Username exclude: false alter: alter_text: false @@ -134,7 +135,7 @@ display: entity_type: user entity_field: status plugin_id: field - label: État + label: Status exclude: false alter: alter_text: false @@ -178,8 +179,8 @@ display: type: boolean settings: format: custom - format_custom_false: Bloqué - format_custom_true: Actif + format_custom_false: Blocked + format_custom_true: Active roles_target_id: id: roles_target_id table: user__roles @@ -241,7 +242,7 @@ display: entity_type: user entity_field: created plugin_id: field - label: 'Membre depuis' + label: 'Member for' exclude: false alter: alter_text: false @@ -297,7 +298,7 @@ display: entity_type: user entity_field: access plugin_id: field - label: 'Dernier accès' + label: 'Last access' exclude: false alter: alter_text: false @@ -340,8 +341,8 @@ display: hide_alter_empty: true type: timestamp_ago settings: - future_format: 'Dans @interval' - past_format: 'Il y a @interval' + future_format: '@interval hence' + past_format: '@interval ago' granularity: 2 operations: id: operations @@ -466,8 +467,8 @@ display: total_pages: 0 id: 0 tags: - next: 'Suivant ›' - previous: '‹ Précédent' + next: 'Next ›' + previous: '‹ Previous' first: '« First' last: 'Last »' expose: @@ -482,7 +483,7 @@ display: exposed_form: type: basic options: - submit_button: Filtrer + submit_button: Filter reset_button: true reset_button_label: Reset exposed_sorts_label: 'Sort by' @@ -492,7 +493,7 @@ display: access: type: perm options: - perm: 'administer users' + perm: 'access users overview' cache: type: tag empty: @@ -505,7 +506,7 @@ display: admin_label: '' plugin_id: text_custom empty: true - content: 'Personne n''est disponible.' + content: 'No people available.' tokenize: false sorts: created: @@ -539,7 +540,7 @@ display: exposed: true expose: operator_id: combine_op - label: 'Nom ou courriel contenant' + label: 'Name or email contains' description: '' use_operator: false operator: combine_op @@ -600,7 +601,7 @@ display: administrator: '0' is_grouped: true group_info: - label: État + label: Status description: '' identifier: status optional: true @@ -611,11 +612,11 @@ display: default_group_multiple: { } group_items: 1: - title: Actif + title: Active operator: '=' value: '1' 2: - title: Bloqué + title: Blocked operator: '=' value: '0' roles_target_id: @@ -632,7 +633,7 @@ display: exposed: true expose: operator_id: roles_target_id_op - label: Rôle + label: Role description: '' use_operator: false operator: roles_target_id_op @@ -674,7 +675,7 @@ display: exposed: true expose: operator_id: permission_op - label: Droit + label: Permission description: '' use_operator: false operator: permission_op @@ -751,11 +752,11 @@ display: admin_label: '' entity_type: user plugin_id: numeric - operator: '!=' + operator: '>' value: min: '' max: '' - value: '0' + value: '1' group: 1 exposed: false expose: @@ -772,6 +773,9 @@ display: multiple: false remember_roles: authenticated: authenticated + min_placeholder: '' + max_placeholder: '' + placeholder: '' is_grouped: false group_info: label: '' @@ -871,13 +875,14 @@ display: distinct: false replica: false query_tags: { } + relationships: { } css_class: '' use_ajax: false group_by: false show_admin_links: true use_more: false use_more_always: false - use_more_text: plus + use_more_text: more link_display: page_1 link_url: '' display_comment: '' @@ -901,19 +906,20 @@ display: defaults: show_admin_links: false show_admin_links: false - display_extenders: { } + display_extenders: + views_ef_fieldset: { } path: admin/people/list menu: type: 'default tab' - title: Lister + title: List description: 'Trouver et gérer les personnes interagissant avec votre site.' weight: -10 menu_name: admin context: '' tab_options: type: normal - title: Personnes - description: 'Gérer les comptes utilisateurs, les rôles et les droits.' + title: People + description: 'Manage user accounts, roles, and permissions.' weight: 0 menu_name: admin cache_metadata: diff --git a/src/config/sync/views.view.watchdog.yml b/src/config/sync/views.view.watchdog.yml index 5b5c9e2..910e971 100644 --- a/src/config/sync/views.view.watchdog.yml +++ b/src/config/sync/views.view.watchdog.yml @@ -457,7 +457,7 @@ display: exposed_form: type: basic options: - submit_button: Filtrer + submit_button: Filter reset_button: true reset_button_label: Reset exposed_sorts_label: 'Sort by' diff --git a/src/config/sync/views.view.who_s_new.yml b/src/config/sync/views.view.who_s_new.yml index 8577217..88e6adb 100644 --- a/src/config/sync/views.view.who_s_new.yml +++ b/src/config/sync/views.view.who_s_new.yml @@ -1,6 +1,6 @@ uuid: f1adc0b1-8a3a-4695-8195-de50d9410e69 langcode: fr -status: true +status: false dependencies: module: - user diff --git a/src/config/sync/views.view.who_s_online.yml b/src/config/sync/views.view.who_s_online.yml index 7bd68e5..db0a9e2 100644 --- a/src/config/sync/views.view.who_s_online.yml +++ b/src/config/sync/views.view.who_s_online.yml @@ -1,6 +1,6 @@ uuid: 5f81e689-bf32-4a82-b70f-2e8cf09bf9af langcode: fr -status: true +status: false dependencies: module: - user @@ -142,7 +142,7 @@ display: exposed: false expose: operator_id: access_op - label: 'Dernier accès' + label: 'Last access' description: 'Durée pendant laquelle on considère qu''un utilisateur est en ligne après qu''il ait vu une page pour la dernière fois.' use_operator: false operator: access_op