bach 1 rok pred
rodič
commit
3073848475

+ 21 - 3
src/config/sync/core.entity_form_display.user.user.default.yml

@@ -3,6 +3,8 @@ langcode: fr
 status: true
 dependencies:
   config:
+    - field.field.user.user.field_nom
+    - field.field.user.user.field_prenom
     - field.field.user.user.field_strucure
   module:
     - user
@@ -16,19 +18,35 @@ content:
     region: content
     settings: {  }
     third_party_settings: {  }
+  field_nom:
+    type: string_textfield
+    weight: 1
+    region: content
+    settings:
+      size: 60
+      placeholder: ''
+    third_party_settings: {  }
+  field_prenom:
+    type: string_textfield
+    weight: 2
+    region: content
+    settings:
+      size: 60
+      placeholder: ''
+    third_party_settings: {  }
   field_strucure:
     type: options_select
-    weight: 2
+    weight: 3
     region: content
     settings: {  }
     third_party_settings: {  }
   regcode:
-    weight: 10
+    weight: 4
     region: content
     settings: {  }
     third_party_settings: {  }
   terms_of_use:
-    weight: 10
+    weight: 5
     region: content
     settings: {  }
     third_party_settings: {  }

+ 14 - 0
src/config/sync/core.entity_form_display.user.user.group.yml

@@ -4,6 +4,8 @@ status: true
 dependencies:
   config:
     - core.entity_form_mode.user.group
+    - field.field.user.user.field_nom
+    - field.field.user.user.field_prenom
     - field.field.user.user.field_strucure
   module:
     - user
@@ -27,8 +29,20 @@ content:
       size: 60
       placeholder: ''
     third_party_settings: {  }
+  regcode:
+    weight: 10
+    region: content
+    settings: {  }
+    third_party_settings: {  }
+  terms_of_use:
+    weight: 10
+    region: content
+    settings: {  }
+    third_party_settings: {  }
 hidden:
   contact: true
+  field_nom: true
+  field_prenom: true
   langcode: true
   language: true
   path: true

+ 19 - 0
src/config/sync/core.entity_view_display.user.user.default.yml

@@ -3,6 +3,8 @@ langcode: fr
 status: true
 dependencies:
   config:
+    - field.field.user.user.field_nom
+    - field.field.user.user.field_prenom
     - field.field.user.user.field_strucure
   module:
     - user
@@ -11,6 +13,22 @@ targetEntityType: user
 bundle: user
 mode: default
 content:
+  field_nom:
+    type: string
+    label: above
+    settings:
+      link_to_entity: false
+    third_party_settings: {  }
+    weight: 7
+    region: content
+  field_prenom:
+    type: string
+    label: above
+    settings:
+      link_to_entity: false
+    third_party_settings: {  }
+    weight: 8
+    region: content
   field_strucure:
     type: entity_reference_label
     label: above
@@ -26,4 +44,5 @@ content:
     region: content
 hidden:
   langcode: true
+  name: true
   search_api_excerpt: true

+ 20 - 0
src/config/sync/field.field.user.user.field_nom.yml

@@ -0,0 +1,20 @@
+uuid: fdb64e02-feb4-4ad7-b76a-842ba88d08a0
+langcode: fr
+status: true
+dependencies:
+  config:
+    - field.storage.user.field_nom
+  module:
+    - user
+id: user.user.field_nom
+field_name: field_nom
+entity_type: user
+bundle: user
+label: Nom
+description: ''
+required: true
+translatable: false
+default_value: {  }
+default_value_callback: ''
+settings: {  }
+field_type: string

+ 20 - 0
src/config/sync/field.field.user.user.field_prenom.yml

@@ -0,0 +1,20 @@
+uuid: b235132e-d595-4955-8c07-055f6df980ab
+langcode: fr
+status: true
+dependencies:
+  config:
+    - field.storage.user.field_prenom
+  module:
+    - user
+id: user.user.field_prenom
+field_name: field_prenom
+entity_type: user
+bundle: user
+label: Prénom
+description: ''
+required: true
+translatable: false
+default_value: {  }
+default_value_callback: ''
+settings: {  }
+field_type: string

+ 21 - 0
src/config/sync/field.storage.user.field_nom.yml

@@ -0,0 +1,21 @@
+uuid: 2dc683ff-e75f-41bf-aa24-89da383628ca
+langcode: fr
+status: true
+dependencies:
+  module:
+    - user
+id: user.field_nom
+field_name: field_nom
+entity_type: user
+type: string
+settings:
+  max_length: 255
+  case_sensitive: false
+  is_ascii: false
+module: core
+locked: false
+cardinality: 1
+translatable: true
+indexes: {  }
+persist_with_no_fields: false
+custom_storage: false

+ 21 - 0
src/config/sync/field.storage.user.field_prenom.yml

@@ -0,0 +1,21 @@
+uuid: 1aeb87df-8721-46f8-9492-a9f028822640
+langcode: fr
+status: true
+dependencies:
+  module:
+    - user
+id: user.field_prenom
+field_name: field_prenom
+entity_type: user
+type: string
+settings:
+  max_length: 255
+  case_sensitive: false
+  is_ascii: false
+module: core
+locked: false
+cardinality: 1
+translatable: true
+indexes: {  }
+persist_with_no_fields: false
+custom_storage: false

+ 1 - 0
src/config/sync/user.role.authenticated.yml

@@ -30,6 +30,7 @@ permissions:
   - 'access synonyms entity autocomplete'
   - 'add composition entities'
   - 'add fil entities'
+  - 'change own username'
   - 'create confidentialite workflow_transition'
   - 'create corpus_documents workflow_transition'
   - 'create defalut workflow_transition'

+ 301 - 10
src/config/sync/views.view.user_admin_people.yml

@@ -2,8 +2,14 @@ uuid: 3e6259b6-9b68-459c-b62f-5e198bdafec3
 langcode: fr
 status: true
 dependencies:
+  config:
+    - field.storage.user.field_nom
+    - field.storage.user.field_prenom
+    - field.storage.user.field_strucure
+    - taxonomy.vocabulary.structure
   module:
     - role_delegation
+    - taxonomy
     - user
 _core:
   default_config_hash: njaZigMvB4ap21Fg_tQcJhWgYJCGNi49Z5rRL_N6RI0
@@ -73,6 +79,132 @@ display:
           hide_empty: false
           empty_zero: false
           hide_alter_empty: true
+        field_prenom:
+          id: field_prenom
+          table: user__field_prenom
+          field: field_prenom
+          relationship: none
+          group_type: group
+          admin_label: ''
+          plugin_id: field
+          label: 'Prénom Nom'
+          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: string
+          settings:
+            link_to_entity: false
+          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
+        field_nom:
+          id: field_nom
+          table: user__field_nom
+          field: field_nom
+          relationship: none
+          group_type: group
+          admin_label: ''
+          plugin_id: field
+          label: Nom
+          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: string
+          settings:
+            link_to_entity: false
+          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
         name:
           id: name
           table: users_field_data
@@ -124,7 +256,83 @@ display:
           hide_empty: false
           empty_zero: false
           hide_alter_empty: true
+          click_sort_column: value
           type: user_name
+          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
+        field_strucure:
+          id: field_strucure
+          table: user__field_strucure
+          field: field_strucure
+          relationship: none
+          group_type: group
+          admin_label: ''
+          plugin_id: field
+          label: Strucure
+          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: true
+          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: users_field_data
@@ -788,6 +996,63 @@ display:
             default_group: All
             default_group_multiple: {  }
             group_items: {  }
+        field_strucure_target_id:
+          id: field_strucure_target_id
+          table: user__field_strucure
+          field: field_strucure_target_id
+          relationship: none
+          group_type: group
+          admin_label: ''
+          plugin_id: taxonomy_index_tid
+          operator: or
+          value: {  }
+          group: 1
+          exposed: true
+          expose:
+            operator_id: field_strucure_target_id_op
+            label: 'Strucure (field_strucure)'
+            description: ''
+            use_operator: false
+            operator: field_strucure_target_id_op
+            operator_limit_selection: false
+            operator_list: {  }
+            identifier: field_strucure_target_id
+            required: false
+            remember: false
+            multiple: false
+            remember_roles:
+              authenticated: authenticated
+              anonymous: '0'
+              admin: '0'
+              root: '0'
+              user: '0'
+              group_admin: '0'
+              group_member: '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
+          vid: structure
+          type: select
+          hierarchy: false
+          limit: true
+          error_message: true
+          save_lineage: false
+          force_deepest: false
+          parent: 0
+          level_labels: ''
+          hierarchy_depth: 0
+          required_depth: 0
       filter_groups:
         operator: AND
         groups:
@@ -800,13 +1065,15 @@ display:
           default_row_class: true
           columns:
             user_bulk_form: user_bulk_form
+            field_prenom: field_prenom
+            field_nom: field_prenom
             name: name
             status: status
-            rid: rid
+            roles_target_id: roles_target_id
             created: created
             access: access
-            edit_node: edit_node
-            dropbutton: dropbutton
+            operations: operations
+            mail: mail
           default: created
           info:
             user_bulk_form:
@@ -814,6 +1081,20 @@ display:
               separator: ''
               empty_column: false
               responsive: ''
+            field_prenom:
+              sortable: false
+              default_sort_order: asc
+              align: ''
+              separator: ' '
+              empty_column: false
+              responsive: ''
+            field_nom:
+              sortable: false
+              default_sort_order: asc
+              align: ''
+              separator: ''
+              empty_column: false
+              responsive: ''
             name:
               sortable: true
               default_sort_order: asc
@@ -828,13 +1109,13 @@ display:
               separator: ''
               empty_column: false
               responsive: priority-low
-            rid:
+            roles_target_id:
               sortable: false
               default_sort_order: asc
               align: ''
               separator: ''
               empty_column: false
-              responsive: priority-low
+              responsive: ''
             created:
               sortable: true
               default_sort_order: desc
@@ -849,12 +1130,12 @@ display:
               separator: ''
               empty_column: false
               responsive: priority-low
-            edit_node:
+            operations:
               align: ''
               separator: ''
               empty_column: false
-              responsive: priority-low
-            dropbutton:
+              responsive: ''
+            mail:
               sortable: false
               default_sort_order: asc
               align: ''
@@ -865,6 +1146,8 @@ display:
           sticky: false
           summary: ''
           empty_table: true
+          caption: ''
+          description: ''
       row:
         type: fields
       query:
@@ -895,8 +1178,12 @@ display:
         - 'languages:language_interface'
         - url
         - url.query_args
+        - user
         - user.permissions
-      tags: {  }
+      tags:
+        - 'config:field.storage.user.field_nom'
+        - 'config:field.storage.user.field_prenom'
+        - 'config:field.storage.user.field_strucure'
   page_1:
     id: page_1
     display_title: Page
@@ -929,5 +1216,9 @@ display:
         - 'languages:language_interface'
         - url
         - url.query_args
+        - user
         - user.permissions
-      tags: {  }
+      tags:
+        - 'config:field.storage.user.field_nom'
+        - 'config:field.storage.user.field_prenom'
+        - 'config:field.storage.user.field_strucure'