Browse Source

mes fichiers as profile ok

bach 5 months ago
parent
commit
69d3047cfc
37 changed files with 2187 additions and 40 deletions
  1. 1 0
      composer.json
  2. 53 1
      composer.lock
  3. 6 0
      config/sync/administerusersbyrole.settings.yml
  4. 1 1
      config/sync/block.block.reha_contenudelapageprincipale.yml
  5. 20 0
      config/sync/block.block.reha_onglets.yml
  6. 1 1
      config/sync/block.block.reha_titredepage.yml
  7. 26 0
      config/sync/block.block.reha_views_block__current_user_doc_profile_block_1.yml
  8. 145 37
      config/sync/content_as_config.menu_link_content.yml
  9. 66 0
      config/sync/core.entity_form_display.profile.collaborateur.default.yml
  10. 84 0
      config/sync/core.entity_form_display.user.user.register.yml
  11. 44 0
      config/sync/core.entity_view_display.profile.collaborateur.default.yml
  12. 3 0
      config/sync/core.extension.yml
  13. 34 0
      config/sync/field.field.profile.collaborateur.field_dossier_de_pilotage.yml
  14. 34 0
      config/sync/field.field.profile.collaborateur.field_dossier_evenement.yml
  15. 29 0
      config/sync/field.field.profile.collaborateur.field_site.yml
  16. 21 0
      config/sync/field.storage.profile.field_dossier_de_pilotage.yml
  17. 21 0
      config/sync/field.storage.profile.field_dossier_evenement.yml
  18. 24 0
      config/sync/field.storage.profile.field_site.yml
  19. 13 0
      config/sync/profile.type.collaborateur.yml
  20. 16 0
      config/sync/system.action.profile_delete_action.yml
  21. 16 0
      config/sync/system.action.profile_publish_action.yml
  22. 16 0
      config/sync/system.action.profile_unpublish_action.yml
  23. 12 0
      config/sync/user.role.admin.yml
  24. 6 0
      config/sync/user.role.collaborateur.yml
  25. 19 0
      config/sync/user.role.editor.yml
  26. 915 0
      config/sync/views.view.administerusersbyrole_people.yml
  27. 203 0
      config/sync/views.view.current_user_doc_profile.yml
  28. 356 0
      config/sync/views.view.profiles.yml
  29. BIN
      private/47/Hetzner_2024-04-08_R0022528431.pdf
  30. BIN
      private/47/VL53L0X_0.PDF
  31. BIN
      private/47/VL53L0X_1.PDF
  32. BIN
      private/47/bilan-s6-2024-gw6okzn.pdf
  33. BIN
      private/47/dna-2024-9ggokaq (2).pdf
  34. BIN
      private/47/etiquette-mr-109012.pdf
  35. BIN
      private/47/leboncoin_bon-d-envoi_2384c3ba-b15d-460d-94d0-b92582629a8c.pdf
  36. 1 0
      web/themes/custom/reha/dist/css/bundle.css
  37. 1 0
      web/themes/custom/reha/scss/global/_layout.scss

+ 1 - 0
composer.json

@@ -18,6 +18,7 @@
         "composer/installers": "^2.0",
         "drupal/address": "^1.12",
         "drupal/admin_theme": "^1.0",
+        "drupal/administerusersbyrole": "^3.4",
         "drupal/advanced_email_validation": "^1.1",
         "drupal/amswap": "^3.2",
         "drupal/autotitle": "^1.3",

+ 53 - 1
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": "cfd68a5361ed27b1abf9cce98fdbf04a",
+    "content-hash": "6791033095e7dafc3474d1203ca03d50",
     "packages": [
         {
             "name": "asm89/stack-cors",
@@ -1901,6 +1901,58 @@
                 "issues": "https://www.drupal.org/project/issues/adminimal_theme"
             }
         },
+        {
+            "name": "drupal/administerusersbyrole",
+            "version": "3.4.0",
+            "source": {
+                "type": "git",
+                "url": "https://git.drupalcode.org/project/administerusersbyrole.git",
+                "reference": "8.x-3.4"
+            },
+            "dist": {
+                "type": "zip",
+                "url": "https://ftp.drupal.org/files/projects/administerusersbyrole-8.x-3.4.zip",
+                "reference": "8.x-3.4",
+                "shasum": "17cd7107c8fdd0c65049ee2b8dceefa0432024fa"
+            },
+            "require": {
+                "drupal/core": "^8 || ^9 || ^10"
+            },
+            "type": "drupal-module",
+            "extra": {
+                "drupal": {
+                    "version": "8.x-3.4",
+                    "datestamp": "1682265550",
+                    "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_email_validation",
             "version": "1.1.5",

+ 6 - 0
config/sync/administerusersbyrole.settings.yml

@@ -0,0 +1,6 @@
+_core:
+  default_config_hash: UiTY9bhUKWJOIWDlOKM3akeeyHuJJRspXETsv3SY6jw
+langcode: fr
+roles:
+  editor: unsafe
+  collaborateur: perm

+ 1 - 1
config/sync/block.block.reha_contenudelapageprincipale.yml

@@ -9,7 +9,7 @@ dependencies:
 id: reha_contenudelapageprincipale
 theme: reha
 region: content
-weight: -3
+weight: -5
 provider: null
 plugin: system_main_block
 settings:

+ 20 - 0
config/sync/block.block.reha_onglets.yml

@@ -0,0 +1,20 @@
+uuid: d08c85ef-ee6f-478c-a078-5f6bb13603a0
+langcode: fr
+status: false
+dependencies:
+  theme:
+    - reha
+id: reha_onglets
+theme: reha
+region: content
+weight: -6
+provider: null
+plugin: local_tasks_block
+settings:
+  id: local_tasks_block
+  label: Onglets
+  label_display: '0'
+  provider: core
+  primary: true
+  secondary: true
+visibility: {  }

+ 1 - 1
config/sync/block.block.reha_titredepage.yml

@@ -7,7 +7,7 @@ dependencies:
 id: reha_titredepage
 theme: reha
 region: content
-weight: -4
+weight: -7
 provider: null
 plugin: page_title_block
 settings:

+ 26 - 0
config/sync/block.block.reha_views_block__current_user_doc_profile_block_1.yml

@@ -0,0 +1,26 @@
+uuid: 0070cf68-a285-40a9-9f6f-6c42d3b7163c
+langcode: fr
+status: true
+dependencies:
+  config:
+    - views.view.current_user_doc_profile
+  module:
+    - views
+  theme:
+    - reha
+id: reha_views_block__current_user_doc_profile_block_1
+theme: reha
+region: sidebar_second
+weight: 0
+provider: null
+plugin: 'views_block:current_user_doc_profile-block_1'
+settings:
+  id: 'views_block:current_user_doc_profile-block_1'
+  label: ''
+  label_display: visible
+  provider: views
+  context_mapping: {  }
+  views_label: ''
+  items_per_page: none
+  exposed: {  }
+visibility: {  }

+ 145 - 37
config/sync/content_as_config.menu_link_content.yml

@@ -1,11 +1,11 @@
-6af09942-a538-4c95-beb4-05ef50e8179a:
-  uuid: 6af09942-a538-4c95-beb4-05ef50e8179a
-  menu_name: footer
-  title: Contacts
+39762042-305d-41ee-9024-f357eb247b35:
+  uuid: 39762042-305d-41ee-9024-f357eb247b35
+  menu_name: editor
+  title: Content
   parent: ''
   link:
     -
-      uri: 'internal:/contacts'
+      uri: 'internal:/admin/content'
       title: ''
       options:
         attributes:
@@ -16,14 +16,14 @@
   expanded: '0'
   weight: '0'
   langcode: fr
-26d85489-f033-4f34-b529-52a6cb40bb43:
-  uuid: 26d85489-f033-4f34-b529-52a6cb40bb43
-  menu_name: footer
-  title: 'Mentions légales'
-  parent: ''
+37a113fe-1380-413e-a3f6-c7dc32f9e34d:
+  uuid: 37a113fe-1380-413e-a3f6-c7dc32f9e34d
+  menu_name: editor
+  title: Contacts
+  parent: 'menu_link_content:39762042-305d-41ee-9024-f357eb247b35'
   link:
     -
-      uri: 'internal:/mentions_legales'
+      uri: 'internal:/edit/contacts'
       title: ''
       options:
         attributes:
@@ -32,16 +32,16 @@
   description: ''
   enabled: '1'
   expanded: '0'
-  weight: '0'
+  weight: '-45'
   langcode: fr
-39762042-305d-41ee-9024-f357eb247b35:
-  uuid: 39762042-305d-41ee-9024-f357eb247b35
+7ef5d280-649a-4fc8-b236-72b990a5eb96:
+  uuid: 7ef5d280-649a-4fc8-b236-72b990a5eb96
   menu_name: editor
-  title: Content
-  parent: ''
+  title: 'Mentions légales'
+  parent: 'menu_link_content:39762042-305d-41ee-9024-f357eb247b35'
   link:
     -
-      uri: 'internal:/admin/content'
+      uri: 'internal:/edit/mentions_legales'
       title: ''
       options:
         attributes:
@@ -50,16 +50,16 @@
   description: ''
   enabled: '1'
   expanded: '0'
-  weight: '0'
+  weight: '-44'
   langcode: fr
-37a113fe-1380-413e-a3f6-c7dc32f9e34d:
-  uuid: 37a113fe-1380-413e-a3f6-c7dc32f9e34d
+fcd1be17-0d1d-4c68-b59d-14b81d984c38:
+  uuid: fcd1be17-0d1d-4c68-b59d-14b81d984c38
   menu_name: editor
-  title: Contacts
+  title: Partenaires
   parent: 'menu_link_content:39762042-305d-41ee-9024-f357eb247b35'
   link:
     -
-      uri: 'internal:/edit/contacts'
+      uri: 'internal:/edit/partenaires'
       title: ''
       options:
         attributes:
@@ -68,16 +68,16 @@
   description: ''
   enabled: '1'
   expanded: '0'
-  weight: '-50'
+  weight: '-43'
   langcode: fr
-7ef5d280-649a-4fc8-b236-72b990a5eb96:
-  uuid: 7ef5d280-649a-4fc8-b236-72b990a5eb96
+bf5bcb0d-04a1-44b1-87ed-52d097dd542e:
+  uuid: bf5bcb0d-04a1-44b1-87ed-52d097dd542e
   menu_name: editor
-  title: 'Mentions légales'
+  title: Opérations
   parent: 'menu_link_content:39762042-305d-41ee-9024-f357eb247b35'
   link:
     -
-      uri: 'internal:/edit/mentions_legales'
+      uri: 'internal:/admin/content/operations'
       title: ''
       options:
         attributes:
@@ -88,14 +88,14 @@
   expanded: '0'
   weight: '-49'
   langcode: fr
-fcd1be17-0d1d-4c68-b59d-14b81d984c38:
-  uuid: fcd1be17-0d1d-4c68-b59d-14b81d984c38
+cb59de93-79ab-49a8-bcf1-e2590be8e89a:
+  uuid: cb59de93-79ab-49a8-bcf1-e2590be8e89a
   menu_name: editor
-  title: Partenaires
+  title: Sites
   parent: 'menu_link_content:39762042-305d-41ee-9024-f357eb247b35'
   link:
     -
-      uri: 'internal:/edit/partenaires'
+      uri: 'internal:/admin/content/sites'
       title: ''
       options:
         attributes:
@@ -106,14 +106,122 @@ fcd1be17-0d1d-4c68-b59d-14b81d984c38:
   expanded: '0'
   weight: '-48'
   langcode: fr
-bf5bcb0d-04a1-44b1-87ed-52d097dd542e:
-  uuid: bf5bcb0d-04a1-44b1-87ed-52d097dd542e
+f7e08bb3-4728-46c0-91ea-21e35c9722bb:
+  uuid: f7e08bb3-4728-46c0-91ea-21e35c9722bb
   menu_name: editor
-  title: Opérations
-  parent: ''
+  title: Actualités
+  parent: 'menu_link_content:39762042-305d-41ee-9024-f357eb247b35'
   link:
     -
-      uri: 'internal:/admin/content/operations'
+      uri: 'internal:/admin/content/actus'
+      title: ''
+      options:
+        attributes:
+          class:
+            - ''
+  description: ''
+  enabled: '1'
+  expanded: '0'
+  weight: '-47'
+  langcode: fr
+7f6f507c-3cef-46b1-98ce-d243f0a9d25c:
+  uuid: 7f6f507c-3cef-46b1-98ce-d243f0a9d25c
+  menu_name: editor
+  title: Ressources
+  parent: 'menu_link_content:39762042-305d-41ee-9024-f357eb247b35'
+  link:
+    -
+      uri: 'internal:/admin/content/ressources'
+      title: ''
+      options:
+        attributes:
+          class:
+            - ''
+  description: ''
+  enabled: '1'
+  expanded: '0'
+  weight: '-46'
+  langcode: fr
+7c74cab8-3728-4184-a5ef-f4bb007af02e:
+  uuid: 7c74cab8-3728-4184-a5ef-f4bb007af02e
+  menu_name: editor
+  title: 'Ajouter un contenu'
+  parent: 'menu_link_content:39762042-305d-41ee-9024-f357eb247b35'
+  link:
+    -
+      uri: 'internal:/node/add'
+      title: ''
+      options:
+        attributes:
+          class:
+            - ''
+  description: ''
+  enabled: '1'
+  expanded: '0'
+  weight: '-50'
+  langcode: fr
+fa213d6e-b8d9-4646-9802-02d63c6812a9:
+  uuid: fa213d6e-b8d9-4646-9802-02d63c6812a9
+  menu_name: editor
+  title: 'Ajouter un site'
+  parent: 'menu_link_content:7c74cab8-3728-4184-a5ef-f4bb007af02e'
+  link:
+    -
+      uri: 'internal:/node/add/site'
+      title: ''
+      options:
+        attributes:
+          class:
+            - ''
+  description: ''
+  enabled: '1'
+  expanded: '0'
+  weight: '-50'
+  langcode: fr
+451fc634-12d9-421d-9c8b-0024bd4f4200:
+  uuid: 451fc634-12d9-421d-9c8b-0024bd4f4200
+  menu_name: editor
+  title: 'Ajouter une actualité'
+  parent: 'menu_link_content:7c74cab8-3728-4184-a5ef-f4bb007af02e'
+  link:
+    -
+      uri: 'internal:/node/add/actualite'
+      title: ''
+      options:
+        attributes:
+          class:
+            - ''
+  description: ''
+  enabled: '1'
+  expanded: '0'
+  weight: '-49'
+  langcode: fr
+607867d7-69e5-4a52-aacd-04e3b856acd8:
+  uuid: 607867d7-69e5-4a52-aacd-04e3b856acd8
+  menu_name: editor
+  title: 'Ajouter une ressource'
+  parent: 'menu_link_content:7c74cab8-3728-4184-a5ef-f4bb007af02e'
+  link:
+    -
+      uri: 'internal:/node/add/ressource'
+      title: ''
+      options:
+        attributes:
+          class:
+            - ''
+  description: ''
+  enabled: '1'
+  expanded: '0'
+  weight: '-48'
+  langcode: fr
+effb8194-cf53-498c-8aeb-15f796ed56cd:
+  uuid: effb8194-cf53-498c-8aeb-15f796ed56cd
+  menu_name: editor
+  title: 'Contenus en téléchargement'
+  parent: 'menu_link_content:39762042-305d-41ee-9024-f357eb247b35'
+  link:
+    -
+      uri: 'internal:/edit/contenusentelechargement'
       title: ''
       options:
         attributes:
@@ -122,5 +230,5 @@ bf5bcb0d-04a1-44b1-87ed-52d097dd542e:
   description: ''
   enabled: '1'
   expanded: '0'
-  weight: '1'
+  weight: '-42'
   langcode: fr

+ 66 - 0
config/sync/core.entity_form_display.profile.collaborateur.default.yml

@@ -0,0 +1,66 @@
+uuid: 1adb5f13-c4cf-4e36-9685-5c1f24326299
+langcode: fr
+status: true
+dependencies:
+  config:
+    - field.field.profile.collaborateur.field_dossier_de_pilotage
+    - field.field.profile.collaborateur.field_dossier_evenement
+    - field.field.profile.collaborateur.field_site
+    - profile.type.collaborateur
+  module:
+    - paragraphs
+id: profile.collaborateur.default
+targetEntityType: profile
+bundle: collaborateur
+mode: default
+content:
+  field_dossier_de_pilotage:
+    type: paragraphs
+    weight: 1
+    region: content
+    settings:
+      title: Paragraphe
+      title_plural: Paragraphs
+      edit_mode: open
+      closed_mode: summary
+      autocollapse: none
+      closed_mode_threshold: 0
+      add_mode: dropdown
+      form_display_mode: default
+      default_paragraph_type: _none
+      features:
+        add_above: '0'
+        collapse_edit_all: collapse_edit_all
+        duplicate: duplicate
+    third_party_settings: {  }
+  field_dossier_evenement:
+    type: paragraphs
+    weight: 2
+    region: content
+    settings:
+      title: Paragraphe
+      title_plural: Paragraphs
+      edit_mode: open
+      closed_mode: summary
+      autocollapse: none
+      closed_mode_threshold: 0
+      add_mode: dropdown
+      form_display_mode: default
+      default_paragraph_type: _none
+      features:
+        add_above: '0'
+        collapse_edit_all: collapse_edit_all
+        duplicate: duplicate
+    third_party_settings: {  }
+  field_site:
+    type: entity_reference_autocomplete
+    weight: 0
+    region: content
+    settings:
+      match_operator: CONTAINS
+      match_limit: 10
+      size: 60
+      placeholder: ''
+    third_party_settings: {  }
+hidden:
+  is_default: true

+ 84 - 0
config/sync/core.entity_form_display.user.user.register.yml

@@ -0,0 +1,84 @@
+uuid: 55a126ef-36ff-4478-a8fb-5c8e72f7cf84
+langcode: fr
+status: true
+dependencies:
+  config:
+    - core.entity_form_mode.user.register
+    - field.field.user.user.field_nom
+    - field.field.user.user.field_prenom
+    - field.field.user.user.field_qualite
+    - field.field.user.user.field_structure
+    - field.field.user.user.field_telephone
+  module:
+    - phone_number
+    - profile
+    - user
+id: user.user.register
+targetEntityType: user
+bundle: user
+mode: register
+content:
+  account:
+    weight: 5
+    region: content
+    settings: {  }
+    third_party_settings: {  }
+  collaborateur_profiles:
+    type: profile_form
+    weight: 90
+    region: content
+    settings:
+      form_mode: default
+    third_party_settings: {  }
+  field_nom:
+    type: string_textfield
+    weight: 0
+    region: content
+    settings:
+      size: 60
+      placeholder: ''
+    third_party_settings: {  }
+  field_prenom:
+    type: string_textfield
+    weight: 1
+    region: content
+    settings:
+      size: 60
+      placeholder: ''
+    third_party_settings: {  }
+  field_qualite:
+    type: string_textfield
+    weight: 3
+    region: content
+    settings:
+      size: 60
+      placeholder: ''
+    third_party_settings: {  }
+  field_structure:
+    type: string_textfield
+    weight: 2
+    region: content
+    settings:
+      size: 60
+      placeholder: ''
+    third_party_settings: {  }
+  field_telephone:
+    type: phone_number_default
+    weight: 4
+    region: content
+    settings:
+      default_country: US
+      placeholder: 'Numéro de téléphone'
+      phone_size: 60
+      extension_size: 5
+    third_party_settings: {  }
+  matomo:
+    weight: 3
+    region: content
+    settings: {  }
+    third_party_settings: {  }
+hidden:
+  contact: true
+  langcode: true
+  language: true
+  path: true

+ 44 - 0
config/sync/core.entity_view_display.profile.collaborateur.default.yml

@@ -0,0 +1,44 @@
+uuid: 09c249a3-cf20-40e3-b0f5-6e15b28ffba4
+langcode: fr
+status: true
+dependencies:
+  config:
+    - field.field.profile.collaborateur.field_dossier_de_pilotage
+    - field.field.profile.collaborateur.field_dossier_evenement
+    - field.field.profile.collaborateur.field_site
+    - profile.type.collaborateur
+  module:
+    - entity_reference_revisions
+id: profile.collaborateur.default
+targetEntityType: profile
+bundle: collaborateur
+mode: default
+content:
+  field_dossier_de_pilotage:
+    type: entity_reference_revisions_entity_view
+    label: above
+    settings:
+      view_mode: default
+      link: ''
+    third_party_settings: {  }
+    weight: 1
+    region: content
+  field_dossier_evenement:
+    type: entity_reference_revisions_entity_view
+    label: above
+    settings:
+      view_mode: default
+      link: ''
+    third_party_settings: {  }
+    weight: 2
+    region: content
+  field_site:
+    type: entity_reference_label
+    label: visually_hidden
+    settings:
+      link: true
+    third_party_settings: {  }
+    weight: 0
+    region: content
+hidden:
+  search_api_excerpt: true

+ 3 - 0
config/sync/core.extension.yml

@@ -8,6 +8,7 @@ module:
   admin_theme: 0
   admin_toolbar: 0
   admin_toolbar_links_access_filter: 0
+  administerusersbyrole: 0
   advanced_email_validation: 0
   advanced_text_formatter: 0
   amswap: 0
@@ -56,6 +57,7 @@ module:
   entity_reference_revisions: 0
   field: 0
   field_group: 0
+  field_permissions: 0
   field_ui: 0
   file: 0
   filter: 0
@@ -101,6 +103,7 @@ module:
   pathologic: 0
   persistent_login: 0
   phone_number: 0
+  profile: 0
   quick_node_clone: 0
   redis: 0
   reha_mod: 0

+ 34 - 0
config/sync/field.field.profile.collaborateur.field_dossier_de_pilotage.yml

@@ -0,0 +1,34 @@
+uuid: fcc5404e-1c61-44a9-a76a-16754f5e6e1c
+langcode: fr
+status: true
+dependencies:
+  config:
+    - field.storage.profile.field_dossier_de_pilotage
+    - paragraphs.paragraphs_type.dossier
+    - profile.type.collaborateur
+  module:
+    - entity_reference_revisions
+id: profile.collaborateur.field_dossier_de_pilotage
+field_name: field_dossier_de_pilotage
+entity_type: profile
+bundle: collaborateur
+label: 'Dossier de pilotage'
+description: ''
+required: false
+translatable: false
+default_value: {  }
+default_value_callback: ''
+settings:
+  handler: 'default:paragraph'
+  handler_settings:
+    target_bundles:
+      dossier: dossier
+    negate: 0
+    target_bundles_drag_drop:
+      dossier:
+        weight: 3
+        enabled: true
+      partenaire:
+        weight: 4
+        enabled: false
+field_type: entity_reference_revisions

+ 34 - 0
config/sync/field.field.profile.collaborateur.field_dossier_evenement.yml

@@ -0,0 +1,34 @@
+uuid: f8d7079f-5c0a-40fa-940f-1f523c50a47f
+langcode: fr
+status: true
+dependencies:
+  config:
+    - field.storage.profile.field_dossier_evenement
+    - paragraphs.paragraphs_type.dossier
+    - profile.type.collaborateur
+  module:
+    - entity_reference_revisions
+id: profile.collaborateur.field_dossier_evenement
+field_name: field_dossier_evenement
+entity_type: profile
+bundle: collaborateur
+label: 'Dossier Événement'
+description: ''
+required: false
+translatable: false
+default_value: {  }
+default_value_callback: ''
+settings:
+  handler: 'default:paragraph'
+  handler_settings:
+    target_bundles:
+      dossier: dossier
+    negate: 0
+    target_bundles_drag_drop:
+      dossier:
+        weight: 3
+        enabled: true
+      partenaire:
+        weight: 4
+        enabled: false
+field_type: entity_reference_revisions

+ 29 - 0
config/sync/field.field.profile.collaborateur.field_site.yml

@@ -0,0 +1,29 @@
+uuid: 505e6c8d-6f3a-4172-9ff2-54d94faa9fe9
+langcode: fr
+status: true
+dependencies:
+  config:
+    - field.storage.profile.field_site
+    - node.type.site
+    - profile.type.collaborateur
+id: profile.collaborateur.field_site
+field_name: field_site
+entity_type: profile
+bundle: collaborateur
+label: Site
+description: ''
+required: false
+translatable: false
+default_value: {  }
+default_value_callback: ''
+settings:
+  handler: 'default:node'
+  handler_settings:
+    target_bundles:
+      site: site
+    sort:
+      field: _none
+      direction: ASC
+    auto_create: false
+    auto_create_bundle: ''
+field_type: entity_reference

+ 21 - 0
config/sync/field.storage.profile.field_dossier_de_pilotage.yml

@@ -0,0 +1,21 @@
+uuid: 2bd0c452-ccf9-463e-bbdf-780bbf70eb8a
+langcode: fr
+status: true
+dependencies:
+  module:
+    - entity_reference_revisions
+    - paragraphs
+    - profile
+id: profile.field_dossier_de_pilotage
+field_name: field_dossier_de_pilotage
+entity_type: profile
+type: entity_reference_revisions
+settings:
+  target_type: paragraph
+module: entity_reference_revisions
+locked: false
+cardinality: 1
+translatable: true
+indexes: {  }
+persist_with_no_fields: false
+custom_storage: false

+ 21 - 0
config/sync/field.storage.profile.field_dossier_evenement.yml

@@ -0,0 +1,21 @@
+uuid: 7e5abbd4-5a45-4646-a5bd-37414f6f7d2e
+langcode: fr
+status: true
+dependencies:
+  module:
+    - entity_reference_revisions
+    - paragraphs
+    - profile
+id: profile.field_dossier_evenement
+field_name: field_dossier_evenement
+entity_type: profile
+type: entity_reference_revisions
+settings:
+  target_type: paragraph
+module: entity_reference_revisions
+locked: false
+cardinality: 1
+translatable: true
+indexes: {  }
+persist_with_no_fields: false
+custom_storage: false

+ 24 - 0
config/sync/field.storage.profile.field_site.yml

@@ -0,0 +1,24 @@
+uuid: fb362001-e817-4d09-a5f8-7ac1f922aa5e
+langcode: fr
+status: true
+dependencies:
+  module:
+    - field_permissions
+    - node
+    - profile
+third_party_settings:
+  field_permissions:
+    permission_type: custom
+id: profile.field_site
+field_name: field_site
+entity_type: profile
+type: entity_reference
+settings:
+  target_type: node
+module: core
+locked: false
+cardinality: 1
+translatable: true
+indexes: {  }
+persist_with_no_fields: false
+custom_storage: false

+ 13 - 0
config/sync/profile.type.collaborateur.yml

@@ -0,0 +1,13 @@
+uuid: eb71f94a-4088-4ce9-bbfa-00fccd3d0b2c
+langcode: fr
+status: true
+dependencies: {  }
+id: collaborateur
+label: 'Mes Fichiers'
+display_label: ''
+multiple: false
+registration: true
+roles:
+  collaborateur: collaborateur
+allow_revisions: false
+new_revision: false

+ 16 - 0
config/sync/system.action.profile_delete_action.yml

@@ -0,0 +1,16 @@
+uuid: 5ca46ebf-0d99-43bf-ae2e-139c398c4ab9
+langcode: fr
+status: true
+dependencies:
+  module:
+    - profile
+  enforced:
+    module:
+      - profile
+_core:
+  default_config_hash: eoobeznDDPWSXzEXh6a3AT21rMluXtseCPjsguEgHKs
+id: profile_delete_action
+label: 'Supprimer le profil sélectionné'
+type: profile
+plugin: 'entity:delete_action:profile'
+configuration: {  }

+ 16 - 0
config/sync/system.action.profile_publish_action.yml

@@ -0,0 +1,16 @@
+uuid: e3d71bc5-ee9f-4bd8-9db7-3615b96153f5
+langcode: fr
+status: true
+dependencies:
+  module:
+    - profile
+  enforced:
+    module:
+      - profile
+_core:
+  default_config_hash: jjClImKlBhvh__KZnX6YkW_Kc1yZvqXODbUHt30A8z4
+id: profile_publish_action
+label: 'Publier le profil sélectionné'
+type: profile
+plugin: 'entity:publish_action:profile'
+configuration: {  }

+ 16 - 0
config/sync/system.action.profile_unpublish_action.yml

@@ -0,0 +1,16 @@
+uuid: e3117c65-d53d-4fcc-a7fd-0e11d38fd998
+langcode: fr
+status: true
+dependencies:
+  module:
+    - profile
+  enforced:
+    module:
+      - profile
+_core:
+  default_config_hash: i6SUyw-h9LthgtmTiKGbqFIh-JXnBtXLG2NCV7CkI3M
+id: profile_unpublish_action
+label: 'Dépublier le profil sélectionné'
+type: profile
+plugin: 'entity:unpublish_action:profile'
+configuration: {  }

+ 12 - 0
config/sync/user.role.admin.yml

@@ -11,14 +11,17 @@ dependencies:
     - node.type.static
   module:
     - actions_permissions
+    - administerusersbyrole
     - config_pages
     - content_lock
     - content_translation
+    - field_permissions
     - file
     - filter
     - menu_admin_per_menu
     - node
     - notify
+    - profile
     - system
     - toolbar
 _core:
@@ -39,9 +42,12 @@ permissions:
   - 'break content lock'
   - 'change own username'
   - 'create actualite content'
+  - 'create collaborateur profile'
   - 'create content translations'
+  - 'create field_site'
   - 'create ressource content'
   - 'create site content'
+  - 'create users'
   - 'delete any actualite content'
   - 'delete any ressource content'
   - 'delete any site content'
@@ -56,11 +62,13 @@ permissions:
   - 'edit any static content'
   - 'edit contact config page entity'
   - 'edit documents_en_telechargement config page entity'
+  - 'edit field_site'
   - 'edit mentions_legales config page entity'
   - 'edit own actualite content'
   - 'edit own ressource content'
   - 'edit own site content'
   - 'edit partenaires config page entity'
+  - 'edit users by role'
   - 'execute entity:break_lock config_pages'
   - 'execute entity:break_lock node'
   - 'execute entity:save_action config_pages'
@@ -81,11 +89,15 @@ permissions:
   - 'revert ressource revisions'
   - 'revert site revisions'
   - 'revert static revisions'
+  - 'update any collaborateur profile'
   - 'update content translations'
   - 'use text format wysiwyg'
   - 'view actualite revisions'
+  - 'view any collaborateur profile'
+  - 'view any profile'
   - 'view config_pages entity'
   - 'view documents_en_telechargement config page entity'
+  - 'view field_site'
   - 'view ressource revisions'
   - 'view site revisions'
   - 'view static revisions'

+ 6 - 0
config/sync/user.role.collaborateur.yml

@@ -6,11 +6,17 @@ dependencies:
     - node.type.site
   module:
     - config_pages
+    - field_permissions
     - node
+    - profile
 id: collaborateur
 label: Collaborateur
 weight: -4
 is_admin: null
 permissions:
+  - 'create collaborateur profile'
   - 'edit any site content'
+  - 'update own collaborateur profile'
   - 'view documents_en_telechargement config page entity'
+  - 'view field_site'
+  - 'view own collaborateur profile'

+ 19 - 0
config/sync/user.role.editor.yml

@@ -10,11 +10,14 @@ dependencies:
     - node.type.static
   module:
     - actions_permissions
+    - administerusersbyrole
     - config_pages
     - content_lock
+    - field_permissions
     - filter
     - node
     - notify
+    - profile
     - system
     - toolbar
 id: editor
@@ -27,11 +30,17 @@ permissions:
   - 'access notify'
   - 'access toolbar'
   - 'access user profiles'
+  - 'access users overview'
   - 'administer nodes'
   - 'break content lock'
+  - 'cancel users by role'
+  - 'cancel users with role collaborateur'
   - 'create actualite content'
+  - 'create collaborateur profile'
+  - 'create field_site'
   - 'create ressource content'
   - 'create site content'
+  - 'create users'
   - 'delete site revisions'
   - 'edit any actualite content'
   - 'edit any ressource content'
@@ -39,11 +48,14 @@ permissions:
   - 'edit any static content'
   - 'edit contact config page entity'
   - 'edit documents_en_telechargement config page entity'
+  - 'edit field_site'
   - 'edit mentions_legales config page entity'
   - 'edit own actualite content'
   - 'edit own ressource content'
   - 'edit own site content'
   - 'edit partenaires config page entity'
+  - 'edit users by role'
+  - 'edit users with role collaborateur'
   - 'execute entity:break_lock config_pages'
   - 'execute entity:break_lock node'
   - 'execute entity:save_action config_pages'
@@ -52,11 +64,18 @@ permissions:
   - 'revert ressource revisions'
   - 'revert site revisions'
   - 'revert static revisions'
+  - 'role-assign users by role'
+  - 'role-assign users with role collaborateur'
+  - 'update any collaborateur profile'
   - 'use text format wysiwyg'
   - 'view actualite revisions'
+  - 'view any collaborateur profile'
   - 'view documents_en_telechargement config page entity'
+  - 'view field_site'
   - 'view ressource revisions'
   - 'view site revisions'
   - 'view static revisions'
   - 'view the administration theme'
   - 'view user email addresses'
+  - 'view users by role'
+  - 'view users with role collaborateur'

+ 915 - 0
config/sync/views.view.administerusersbyrole_people.yml

@@ -0,0 +1,915 @@
+uuid: 575f8a83-f228-412b-9990-6c0e4a93f6e9
+langcode: fr
+status: true
+dependencies:
+  module:
+    - user
+_core:
+  default_config_hash: 6Eyq6fYlyx3AQDC_EIpxhMmLHt_onhdbjRqL59jz2XY
+id: administerusersbyrole_people
+label: 'People (administerusersbyrole)'
+module: user
+description: 'Find and manage people - for admin or sub-admin'
+tag: default
+base_table: users_field_data
+base_field: uid
+display:
+  default:
+    id: default
+    display_title: Principal
+    display_plugin: default
+    position: 0
+    display_options:
+      title: Personnes
+      fields:
+        user_bulk_form:
+          id: user_bulk_form
+          table: users
+          field: user_bulk_form
+          relationship: none
+          group_type: group
+          admin_label: ''
+          entity_type: user
+          plugin_id: user_bulk_form
+          label: 'Mise à jour en masse'
+          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
+        name:
+          id: name
+          table: users_field_data
+          field: name
+          relationship: none
+          group_type: group
+          admin_label: ''
+          entity_type: user
+          entity_field: name
+          plugin_id: field
+          label: "Nom d'utilisateur"
+          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
+          type: user_name
+        status:
+          id: status
+          table: users_field_data
+          field: status
+          relationship: none
+          group_type: group
+          admin_label: ''
+          entity_type: user
+          entity_field: status
+          plugin_id: field
+          label: État
+          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
+          type: boolean
+          settings:
+            format: custom
+            format_custom_false: Bloqué
+            format_custom_true: Actif
+        roles_target_id:
+          id: roles_target_id
+          table: user__roles
+          field: roles_target_id
+          relationship: none
+          group_type: group
+          admin_label: ''
+          plugin_id: user_roles
+          label: Rôles
+          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
+          type: ul
+          separator: ', '
+        created:
+          id: created
+          table: users_field_data
+          field: created
+          relationship: none
+          group_type: group
+          admin_label: ''
+          entity_type: user
+          entity_field: created
+          plugin_id: field
+          label: 'Membre depuis'
+          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
+          type: timestamp_ago
+          settings:
+            future_format: '@interval'
+            past_format: '@interval'
+            granularity: 2
+        access:
+          id: access
+          table: users_field_data
+          field: access
+          relationship: none
+          group_type: group
+          admin_label: ''
+          entity_type: user
+          entity_field: access
+          plugin_id: field
+          label: 'Dernier accès'
+          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
+          type: timestamp_ago
+          settings:
+            future_format: 'Dans @interval'
+            past_format: 'Il y a @interval'
+            granularity: 2
+        operations:
+          id: operations
+          table: users
+          field: operations
+          relationship: none
+          group_type: group
+          admin_label: ''
+          entity_type: user
+          plugin_id: entity_operations
+          label: Actions
+          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
+        mail:
+          id: mail
+          table: users_field_data
+          field: mail
+          relationship: none
+          group_type: group
+          admin_label: ''
+          entity_type: user
+          entity_field: mail
+          plugin_id: field
+          label: ''
+          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: false
+          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: basic_string
+          settings: {  }
+          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
+      pager:
+        type: full
+        options:
+          offset: 0
+          items_per_page: 50
+          total_pages: 0
+          id: 0
+          tags:
+            next: 'Suivant ›'
+            previous: '‹ Précédent'
+            first: '« Premier'
+            last: 'Dernier »'
+          expose:
+            items_per_page: false
+            items_per_page_label: 'Éléments par page'
+            items_per_page_options: '5, 10, 25, 50'
+            items_per_page_options_all: false
+            items_per_page_options_all_label: '- Tout -'
+            offset: false
+            offset_label: Décalage
+          quantity: 9
+      exposed_form:
+        type: basic
+        options:
+          submit_button: Filtrer
+          reset_button: true
+          reset_button_label: Réinitialiser
+          exposed_sorts_label: 'Trier par'
+          expose_sort_order: true
+          sort_asc_label: Asc
+          sort_desc_label: Desc
+      access:
+        type: perm
+        options:
+          perm: 'access users overview'
+      cache:
+        type: tag
+      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: "Personne n'est disponible."
+          tokenize: false
+      sorts:
+        created:
+          id: created
+          table: users_field_data
+          field: created
+          relationship: none
+          group_type: group
+          admin_label: ''
+          entity_type: user
+          entity_field: created
+          plugin_id: date
+          order: DESC
+          expose:
+            label: ''
+          exposed: false
+          granularity: second
+      filters:
+        combine:
+          id: combine
+          table: views
+          field: combine
+          relationship: none
+          group_type: group
+          admin_label: ''
+          plugin_id: combine
+          operator: contains
+          value: ''
+          group: 1
+          exposed: true
+          expose:
+            operator_id: combine_op
+            label: 'Nom ou courriel contenant'
+            description: ''
+            use_operator: false
+            operator: combine_op
+            identifier: user
+            required: false
+            remember: false
+            multiple: false
+            remember_roles:
+              authenticated: authenticated
+              anonymous: '0'
+              administrator: '0'
+          is_grouped: false
+          group_info:
+            label: ''
+            description: ''
+            identifier: ''
+            optional: true
+            widget: select
+            multiple: false
+            remember: false
+            default_group: All
+            default_group_multiple: {  }
+            group_items: {  }
+          fields:
+            name: name
+            mail: mail
+        status:
+          id: status
+          table: users_field_data
+          field: status
+          relationship: none
+          group_type: group
+          admin_label: ''
+          entity_type: user
+          entity_field: status
+          plugin_id: boolean
+          operator: '='
+          value: '1'
+          group: 1
+          exposed: true
+          expose:
+            operator_id: ''
+            label: ''
+            description: ''
+            use_operator: false
+            operator: status_op
+            identifier: status
+            required: false
+            remember: false
+            multiple: false
+            remember_roles:
+              authenticated: authenticated
+              anonymous: '0'
+              administrator: '0'
+          is_grouped: true
+          group_info:
+            label: État
+            description: ''
+            identifier: status
+            optional: true
+            widget: select
+            multiple: false
+            remember: false
+            default_group: All
+            default_group_multiple: {  }
+            group_items:
+              1:
+                title: Actif
+                operator: '='
+                value: '1'
+              2:
+                title: Bloqué
+                operator: '='
+                value: '0'
+        roles_target_id:
+          id: roles_target_id
+          table: user__roles
+          field: roles_target_id
+          relationship: none
+          group_type: group
+          admin_label: ''
+          plugin_id: user_roles
+          operator: or
+          value: {  }
+          group: 1
+          exposed: true
+          expose:
+            operator_id: roles_target_id_op
+            label: Rôle
+            description: ''
+            use_operator: false
+            operator: roles_target_id_op
+            identifier: role
+            required: false
+            remember: false
+            multiple: false
+            remember_roles:
+              authenticated: authenticated
+              anonymous: '0'
+              administrator: '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: {  }
+          reduce_duplicates: false
+        permission:
+          id: permission
+          table: user__roles
+          field: permission
+          relationship: none
+          group_type: group
+          admin_label: ''
+          plugin_id: user_permissions
+          operator: or
+          value: {  }
+          group: 1
+          exposed: true
+          expose:
+            operator_id: permission_op
+            label: Droit
+            description: ''
+            use_operator: false
+            operator: permission_op
+            identifier: permission
+            required: false
+            remember: false
+            multiple: false
+            remember_roles:
+              authenticated: authenticated
+              anonymous: '0'
+              administrator: '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: {  }
+          reduce_duplicates: false
+        default_langcode:
+          id: default_langcode
+          table: users_field_data
+          field: default_langcode
+          relationship: none
+          group_type: group
+          admin_label: ''
+          entity_type: user
+          entity_field: default_langcode
+          plugin_id: boolean
+          operator: '='
+          value: '1'
+          group: 1
+          exposed: false
+          expose:
+            operator_id: ''
+            label: ''
+            description: ''
+            use_operator: false
+            operator: ''
+            identifier: ''
+            required: false
+            remember: false
+            multiple: false
+            remember_roles:
+              authenticated: authenticated
+          is_grouped: false
+          group_info:
+            label: ''
+            description: ''
+            identifier: ''
+            optional: true
+            widget: select
+            multiple: false
+            remember: false
+            default_group: All
+            default_group_multiple: {  }
+            group_items: {  }
+        uid_raw:
+          id: uid_raw
+          table: users_field_data
+          field: uid_raw
+          relationship: none
+          group_type: group
+          admin_label: ''
+          entity_type: user
+          plugin_id: numeric
+          operator: '!='
+          value:
+            min: ''
+            max: ''
+            value: '0'
+          group: 1
+          exposed: false
+          expose:
+            operator_id: '0'
+            label: ''
+            description: ''
+            use_operator: false
+            operator: ''
+            identifier: ''
+            required: false
+            remember: false
+            multiple: false
+            remember_roles:
+              authenticated: authenticated
+          is_grouped: false
+          group_info:
+            label: ''
+            description: ''
+            identifier: ''
+            optional: true
+            widget: select
+            multiple: false
+            remember: false
+            default_group: All
+            default_group_multiple: {  }
+            group_items: {  }
+      filter_groups:
+        operator: AND
+        groups:
+          1: AND
+      style:
+        type: table
+        options:
+          grouping: {  }
+          row_class: ''
+          default_row_class: true
+          columns:
+            user_bulk_form: user_bulk_form
+            name: name
+            status: status
+            rid: rid
+            created: created
+            access: access
+            edit_node: edit_node
+            dropbutton: dropbutton
+          default: created
+          info:
+            user_bulk_form:
+              align: ''
+              separator: ''
+              empty_column: false
+              responsive: ''
+            name:
+              sortable: true
+              default_sort_order: asc
+              align: ''
+              separator: ''
+              empty_column: false
+              responsive: ''
+            status:
+              sortable: true
+              default_sort_order: asc
+              align: ''
+              separator: ''
+              empty_column: false
+              responsive: priority-low
+            rid:
+              sortable: false
+              default_sort_order: asc
+              align: ''
+              separator: ''
+              empty_column: false
+              responsive: priority-low
+            created:
+              sortable: true
+              default_sort_order: desc
+              align: ''
+              separator: ''
+              empty_column: false
+              responsive: priority-low
+            access:
+              sortable: true
+              default_sort_order: desc
+              align: ''
+              separator: ''
+              empty_column: false
+              responsive: priority-low
+            edit_node:
+              align: ''
+              separator: ''
+              empty_column: false
+              responsive: priority-low
+            dropbutton:
+              sortable: false
+              default_sort_order: asc
+              align: ''
+              separator: ''
+              empty_column: false
+              responsive: ''
+          override: true
+          sticky: false
+          summary: ''
+          empty_table: true
+      row:
+        type: fields
+      query:
+        type: views_query
+        options:
+          query_comment: ''
+          disable_sql_rewrite: false
+          distinct: false
+          replica: false
+          query_tags:
+            - administerusersbyrole_edit_access
+      css_class: ''
+      use_ajax: false
+      group_by: false
+      show_admin_links: true
+      use_more: false
+      use_more_always: false
+      use_more_text: plus
+      link_display: page_1
+      link_url: ''
+      display_comment: ''
+      hide_attachment_summary: false
+      display_extenders: {  }
+    cache_metadata:
+      max-age: 0
+      contexts:
+        - 'languages:language_content'
+        - 'languages:language_interface'
+        - url
+        - url.query_args
+        - user.permissions
+      tags: {  }
+  page_1:
+    id: page_1
+    display_title: Page
+    display_plugin: page
+    position: 1
+    display_options:
+      defaults:
+        show_admin_links: false
+      show_admin_links: false
+      display_extenders: {  }
+      path: admin/people/list
+      menu:
+        type: 'default tab'
+        title: Lister
+        description: 'Find and manage people - for admin or sub-admin'
+        weight: -10
+        menu_name: admin
+        context: ''
+      tab_options:
+        type: normal
+        title: Personnes
+        description: 'Gérer les comptes utilisateurs, les rôles et les droits.'
+        weight: 0
+        menu_name: admin
+    cache_metadata:
+      max-age: 0
+      contexts:
+        - 'languages:language_content'
+        - 'languages:language_interface'
+        - url
+        - url.query_args
+        - user.permissions
+      tags: {  }

+ 203 - 0
config/sync/views.view.current_user_doc_profile.yml

@@ -0,0 +1,203 @@
+uuid: 3236f925-f4b3-4621-a798-7ec1e9b13494
+langcode: fr
+status: true
+dependencies:
+  config:
+    - profile.type.collaborateur
+    - user.role.collaborateur
+  module:
+    - profile
+    - user
+id: current_user_doc_profile
+label: 'Current user doc profile'
+module: views
+description: ''
+tag: ''
+base_table: profile
+base_field: profile_id
+display:
+  default:
+    id: default
+    display_title: Default
+    display_plugin: default
+    position: 0
+    display_options:
+      title: 'Mes fichiers'
+      fields: {  }
+      pager:
+        type: none
+        options:
+          offset: 0
+          items_per_page: 0
+      exposed_form:
+        type: basic
+        options:
+          submit_button: Appliquer
+          reset_button: false
+          reset_button_label: Réinitialiser
+          exposed_sorts_label: 'Trier par'
+          expose_sort_order: true
+          sort_asc_label: Asc
+          sort_desc_label: Desc
+      access:
+        type: role
+        options:
+          role:
+            collaborateur: collaborateur
+      cache:
+        type: tag
+        options: {  }
+      empty: {  }
+      sorts: {  }
+      arguments:
+        uid:
+          id: uid
+          table: profile
+          field: uid
+          relationship: none
+          group_type: group
+          admin_label: ''
+          entity_type: profile
+          entity_field: uid
+          plugin_id: numeric
+          default_action: default
+          exception:
+            value: all
+            title_enable: false
+            title: All
+          title_enable: false
+          title: ''
+          default_argument_type: current_user
+          default_argument_options: {  }
+          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: profile
+          field: status
+          entity_type: profile
+          entity_field: status
+          plugin_id: boolean
+          value: '1'
+          group: 1
+          expose:
+            operator: ''
+        type:
+          id: type
+          table: profile
+          field: type
+          entity_type: profile
+          entity_field: type
+          plugin_id: bundle
+          value:
+            collaborateur: collaborateur
+      style:
+        type: default
+        options:
+          row_class: ''
+          default_row_class: true
+          uses_fields: false
+      row:
+        type: 'entity:profile'
+        options:
+          relationship: none
+          view_mode: default
+      query:
+        type: views_query
+        options:
+          query_comment: ''
+          disable_sql_rewrite: false
+          distinct: false
+          replica: false
+          query_tags: {  }
+      relationships:
+        uid:
+          id: uid
+          table: profile
+          field: uid
+          relationship: none
+          group_type: group
+          admin_label: Utilisateur
+          entity_type: profile
+          entity_field: uid
+          plugin_id: standard
+          required: false
+      header: {  }
+      footer:
+        area:
+          id: area
+          table: views
+          field: area
+          relationship: none
+          group_type: group
+          admin_label: ''
+          plugin_id: text
+          empty: false
+          content:
+            value: '<a href="user/{{ raw_arguments.uid }}/collaborateur">editer mes fichiers</a>'
+            format: wysiwyg
+          tokenize: true
+      display_extenders:
+        matomo:
+          enabled: false
+          keyword_gets: ''
+          keyword_behavior: first
+          keyword_concat_separator: ' '
+          category_behavior: none
+          category_gets: ''
+          category_concat_separator: ' '
+          category_fallback: ''
+          category_facets: {  }
+          category_facets_concat_separator: ', '
+    cache_metadata:
+      max-age: -1
+      contexts:
+        - 'languages:language_interface'
+        - url
+        - user
+        - user.roles
+      tags: {  }
+  block_1:
+    id: block_1
+    display_title: 'doc profil Block'
+    display_plugin: block
+    position: 1
+    display_options:
+      display_description: ''
+      display_extenders:
+        matomo:
+          enabled: false
+          keyword_gets: ''
+          keyword_behavior: first
+          keyword_concat_separator: ' '
+          category_behavior: none
+          category_gets: ''
+          category_concat_separator: ' '
+          category_fallback: ''
+          category_facets: {  }
+          category_facets_concat_separator: ', '
+      block_description: 'current user doc profil block'
+    cache_metadata:
+      max-age: -1
+      contexts:
+        - 'languages:language_interface'
+        - url
+        - user
+        - user.roles
+      tags: {  }

+ 356 - 0
config/sync/views.view.profiles.yml

@@ -0,0 +1,356 @@
+uuid: da922e6b-4b5a-4b3d-83a3-56b31b187ab3
+langcode: fr
+status: true
+dependencies:
+  module:
+    - profile
+_core:
+  default_config_hash: iDeLvK90ucO3Qc2NIH8ot0W1saUd7U_XThA3P1QvuMs
+id: profiles
+label: Profils
+module: views
+description: ''
+tag: ''
+base_table: profile
+base_field: profile_id
+display:
+  default:
+    id: default
+    display_title: Principal
+    display_plugin: default
+    position: 0
+    display_options:
+      title: Profils
+      fields:
+        rendered_entity:
+          id: rendered_entity
+          table: profile
+          field: rendered_entity
+          relationship: none
+          group_type: group
+          admin_label: ''
+          entity_type: profile
+          plugin_id: rendered_entity
+          label: ''
+          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: false
+          element_wrapper_type: ''
+          element_wrapper_class: ''
+          element_default_classes: true
+          empty: ''
+          hide_empty: false
+          empty_zero: false
+          hide_alter_empty: true
+          view_mode: default
+        operations:
+          id: operations
+          table: profile
+          field: operations
+          relationship: none
+          group_type: group
+          admin_label: ''
+          entity_type: profile
+          plugin_id: entity_operations
+          label: ''
+          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: false
+          element_wrapper_type: ''
+          element_wrapper_class: ''
+          element_default_classes: true
+          empty: ''
+          hide_empty: false
+          empty_zero: false
+          hide_alter_empty: true
+          destination: true
+      pager:
+        type: none
+        options:
+          offset: 0
+      exposed_form:
+        type: basic
+        options:
+          submit_button: Appliquer
+          reset_button: false
+          reset_button_label: Réinitialiser
+          exposed_sorts_label: 'Trier par'
+          expose_sort_order: true
+          sort_asc_label: Asc
+          sort_desc_label: Desc
+      access:
+        type: none
+        options: {  }
+      cache:
+        type: tag
+        options: {  }
+      empty:
+        area:
+          id: area
+          table: views
+          field: area
+          relationship: none
+          group_type: group
+          admin_label: ''
+          plugin_id: text
+          empty: true
+          content:
+            value: 'There are no profiles yet.'
+            format: basic_html
+          tokenize: false
+      sorts:
+        is_default:
+          id: is_default
+          table: profile
+          field: is_default
+          relationship: none
+          group_type: group
+          admin_label: ''
+          entity_type: profile
+          entity_field: is_default
+          plugin_id: standard
+          order: DESC
+          expose:
+            label: ''
+          exposed: false
+        profile_id:
+          id: profile_id
+          table: profile
+          field: profile_id
+          relationship: none
+          group_type: group
+          admin_label: ''
+          entity_type: profile
+          entity_field: profile_id
+          plugin_id: standard
+          order: DESC
+          expose:
+            label: ''
+          exposed: false
+      arguments:
+        uid:
+          id: uid
+          table: profile
+          field: uid
+          relationship: none
+          group_type: group
+          admin_label: ''
+          entity_type: profile
+          entity_field: uid
+          plugin_id: numeric
+          default_action: default
+          exception:
+            value: all
+            title_enable: false
+            title: Tout
+          title_enable: false
+          title: ''
+          default_argument_type: user
+          default_argument_options:
+            user: false
+          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
+        type:
+          id: type
+          table: profile
+          field: type
+          relationship: none
+          group_type: group
+          admin_label: ''
+          entity_type: profile
+          entity_field: type
+          plugin_id: string
+          default_action: ignore
+          exception:
+            value: all
+            title_enable: false
+            title: Tout
+          title_enable: false
+          title: ''
+          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: true
+          validate:
+            type: 'entity:profile_type'
+            fail: 'not found'
+          validate_options: {  }
+          glossary: false
+          limit: 0
+          case: none
+          path_case: none
+          transform_dash: false
+          break_phrase: false
+        status:
+          id: status
+          table: profile
+          field: status
+          relationship: none
+          group_type: group
+          admin_label: ''
+          entity_type: profile
+          entity_field: status
+          plugin_id: numeric
+          default_action: ignore
+          exception:
+            value: all
+            title_enable: false
+            title: Tout
+          title_enable: false
+          title: ''
+          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: {  }
+      style:
+        type: grid
+        options:
+          grouping: {  }
+          columns: 4
+          automatic_width: true
+          alignment: horizontal
+          row_class_custom: ''
+          row_class_default: true
+          col_class_custom: ''
+          col_class_default: true
+      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: {  }
+      header: {  }
+      footer: {  }
+      display_extenders: {  }
+    cache_metadata:
+      max-age: -1
+      contexts:
+        - 'languages:language_interface'
+        - url
+      tags: {  }
+  user_page:
+    id: user_page
+    display_title: "Page d'utilisateur"
+    display_plugin: embed
+    position: 1
+    display_options:
+      display_description: ''
+      display_extenders: {  }
+    cache_metadata:
+      max-age: -1
+      contexts:
+        - 'languages:language_interface'
+        - url
+      tags: {  }

BIN
private/47/Hetzner_2024-04-08_R0022528431.pdf


BIN
private/47/VL53L0X_0.PDF


BIN
private/47/VL53L0X_1.PDF


BIN
private/47/bilan-s6-2024-gw6okzn.pdf


BIN
private/47/dna-2024-9ggokaq (2).pdf


BIN
private/47/etiquette-mr-109012.pdf


BIN
private/47/leboncoin_bon-d-envoi_2384c3ba-b15d-460d-94d0-b92582629a8c.pdf


+ 1 - 0
web/themes/custom/reha/dist/css/bundle.css

@@ -213,6 +213,7 @@ aside.layout-sidebar-first {
 
 aside.layout-sidebar-second {
   position: fixed;
+  top: 0;
   right: 0;
   background-color: #fff;
   height: 100vh;

+ 1 - 0
web/themes/custom/reha/scss/global/_layout.scss

@@ -69,6 +69,7 @@ aside.layout-sidebar-first{
 }
 aside.layout-sidebar-second{
     position: fixed;
+    top:0;
     right:0;
     background-color: #fff;
     height: 100vh;