Browse Source

added roles and created user migration, added uid to breve & materiau migration

Bachir Soussi Chiadmi 5 years ago
parent
commit
168da1148d
58 changed files with 2056 additions and 58 deletions
  1. 70 0
      config/sync/core.entity_form_display.user.user.default.yml
  2. 45 0
      config/sync/core.entity_view_display.user.user.default.yml
  3. 30 0
      config/sync/field.field.user.user.field_company.yml
  4. 20 0
      config/sync/field.field.user.user.field_memo.yml
  5. 30 0
      config/sync/field.field.user.user.field_showroom.yml
  6. 20 0
      config/sync/field.storage.user.field_company.yml
  7. 19 0
      config/sync/field.storage.user.field_memo.yml
  8. 20 0
      config/sync/field.storage.user.field_showroom.yml
  9. 1 1
      config/sync/migrate_plus.migration.d7_allpublicfiles.yml
  10. 7 2
      config/sync/migrate_plus.migration.d7_node_breve.yml
  11. 1 1
      config/sync/migrate_plus.migration.d7_node_breve_i18n.yml
  12. 7 2
      config/sync/migrate_plus.migration.d7_node_materiau.yml
  13. 1 1
      config/sync/migrate_plus.migration.d7_node_materiau_i18n.yml
  14. 1 1
      config/sync/migrate_plus.migration.d7_taxonomy_term_company.yml
  15. 1 1
      config/sync/migrate_plus.migration.d7_taxonomy_term_showroom.yml
  16. 1 1
      config/sync/migrate_plus.migration.d7_taxonomy_term_tags.yml
  17. 1 1
      config/sync/migrate_plus.migration.d7_taxonomy_term_tags_i18n.yml
  18. 1 1
      config/sync/migrate_plus.migration.d7_taxonomy_term_thesaurus.yml
  19. 1 1
      config/sync/migrate_plus.migration.d7_taxonomy_term_thesaurus_i18n.yml
  20. 89 0
      config/sync/migrate_plus.migration.d7_users.yml
  21. 2 2
      config/sync/migrate_plus.migration_group.d7_materio.yml
  22. 14 0
      config/sync/system.action.user_add_role_action.adherent.yml
  23. 14 0
      config/sync/system.action.user_add_role_action.admin_showroom.yml
  24. 14 0
      config/sync/system.action.user_add_role_action.alpha_testeur.yml
  25. 14 0
      config/sync/system.action.user_add_role_action.contact_company.yml
  26. 14 0
      config/sync/system.action.user_add_role_action.free_user.yml
  27. 14 0
      config/sync/system.action.user_add_role_action.premium.yml
  28. 14 0
      config/sync/system.action.user_add_role_action.student.yml
  29. 14 0
      config/sync/system.action.user_add_role_action.translator.yml
  30. 14 0
      config/sync/system.action.user_add_role_action.unverified.yml
  31. 0 14
      config/sync/system.action.user_add_role_action.user.yml
  32. 14 0
      config/sync/system.action.user_remove_role_action.adherent.yml
  33. 14 0
      config/sync/system.action.user_remove_role_action.admin_showroom.yml
  34. 14 0
      config/sync/system.action.user_remove_role_action.alpha_testeur.yml
  35. 14 0
      config/sync/system.action.user_remove_role_action.contact_company.yml
  36. 14 0
      config/sync/system.action.user_remove_role_action.free_user.yml
  37. 14 0
      config/sync/system.action.user_remove_role_action.premium.yml
  38. 14 0
      config/sync/system.action.user_remove_role_action.student.yml
  39. 14 0
      config/sync/system.action.user_remove_role_action.translator.yml
  40. 14 0
      config/sync/system.action.user_remove_role_action.unverified.yml
  41. 0 14
      config/sync/system.action.user_remove_role_action.user.yml
  42. 9 0
      config/sync/user.role.adherent.yml
  43. 9 0
      config/sync/user.role.admin_showroom.yml
  44. 9 0
      config/sync/user.role.alpha_testeur.yml
  45. 9 0
      config/sync/user.role.contact_company.yml
  46. 9 0
      config/sync/user.role.free_user.yml
  47. 9 0
      config/sync/user.role.premium.yml
  48. 9 0
      config/sync/user.role.student.yml
  49. 9 0
      config/sync/user.role.translator.yml
  50. 9 0
      config/sync/user.role.unverified.yml
  51. 0 15
      config/sync/user.role.user.yml
  52. 1228 0
      config/sync/views.view.admin_users.yml
  53. 4 0
      migrate-from-d7.sh
  54. 6 0
      web/modules/custom/materio_migrate/config/install/migrate_plus.migration.d7_node_breve.yml
  55. 6 0
      web/modules/custom/materio_migrate/config/install/migrate_plus.migration.d7_node_materiau.yml
  56. 109 0
      web/modules/custom/materio_migrate/config/install/migrate_plus.migration.d7_users.yml
  57. 1 0
      web/modules/custom/materio_migrate/src/Plugin/migrate/source/D7NodeBreve.php
  58. 1 0
      web/modules/custom/materio_migrate/src/Plugin/migrate/source/D7NodeMateriau.php

+ 70 - 0
config/sync/core.entity_form_display.user.user.default.yml

@@ -0,0 +1,70 @@
+uuid: 1c56abbe-9848-4bae-a7e2-6111c2411799
+langcode: en
+status: true
+dependencies:
+  config:
+    - field.field.user.user.field_company
+    - field.field.user.user.field_memo
+    - field.field.user.user.field_showroom
+  module:
+    - path
+    - user
+id: user.user.default
+targetEntityType: user
+bundle: user
+mode: default
+content:
+  account:
+    weight: 0
+    region: content
+    settings: {  }
+    third_party_settings: {  }
+  contact:
+    weight: 6
+    region: content
+    settings: {  }
+    third_party_settings: {  }
+  field_company:
+    weight: 1
+    settings:
+      match_operator: CONTAINS
+      size: 60
+      placeholder: ''
+    third_party_settings: {  }
+    type: entity_reference_autocomplete
+    region: content
+  field_memo:
+    weight: 3
+    settings:
+      rows: 5
+      placeholder: ''
+    third_party_settings: {  }
+    type: string_textarea
+    region: content
+  field_showroom:
+    weight: 2
+    settings:
+      match_operator: CONTAINS
+      size: 60
+      placeholder: ''
+    third_party_settings: {  }
+    type: entity_reference_autocomplete
+    region: content
+  language:
+    weight: 4
+    region: content
+    settings: {  }
+    third_party_settings: {  }
+  matomo:
+    weight: 5
+    region: content
+    settings: {  }
+    third_party_settings: {  }
+  path:
+    type: path
+    weight: 7
+    region: content
+    settings: {  }
+    third_party_settings: {  }
+hidden:
+  langcode: true

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

@@ -0,0 +1,45 @@
+uuid: 2ccab3a0-5689-4411-8037-bfdb99c7e7c5
+langcode: en
+status: true
+dependencies:
+  config:
+    - field.field.user.user.field_company
+    - field.field.user.user.field_memo
+    - field.field.user.user.field_showroom
+  module:
+    - user
+id: user.user.default
+targetEntityType: user
+bundle: user
+mode: default
+content:
+  field_company:
+    weight: 6
+    label: above
+    settings:
+      link: true
+    third_party_settings: {  }
+    type: entity_reference_label
+    region: content
+  field_memo:
+    weight: 8
+    label: above
+    settings: {  }
+    third_party_settings: {  }
+    type: basic_string
+    region: content
+  field_showroom:
+    weight: 7
+    label: above
+    settings:
+      link: true
+    third_party_settings: {  }
+    type: entity_reference_label
+    region: content
+  member_for:
+    weight: 5
+    settings: {  }
+    third_party_settings: {  }
+    region: content
+hidden:
+  langcode: true

+ 30 - 0
config/sync/field.field.user.user.field_company.yml

@@ -0,0 +1,30 @@
+uuid: 9e976447-862f-4d6c-9191-acb5ecc26486
+langcode: en
+status: true
+dependencies:
+  config:
+    - field.storage.user.field_company
+    - taxonomy.vocabulary.company
+  module:
+    - user
+id: user.user.field_company
+field_name: field_company
+entity_type: user
+bundle: user
+label: Company
+description: ''
+required: false
+translatable: false
+default_value: {  }
+default_value_callback: ''
+settings:
+  handler: 'default:taxonomy_term'
+  handler_settings:
+    target_bundles:
+      company: company
+    sort:
+      field: name
+      direction: asc
+    auto_create: false
+    auto_create_bundle: ''
+field_type: entity_reference

+ 20 - 0
config/sync/field.field.user.user.field_memo.yml

@@ -0,0 +1,20 @@
+uuid: abcf9d2a-5037-4bd5-a54f-0d7e992911bd
+langcode: en
+status: true
+dependencies:
+  config:
+    - field.storage.user.field_memo
+  module:
+    - user
+id: user.user.field_memo
+field_name: field_memo
+entity_type: user
+bundle: user
+label: Memo
+description: ''
+required: false
+translatable: false
+default_value: {  }
+default_value_callback: ''
+settings: {  }
+field_type: string_long

+ 30 - 0
config/sync/field.field.user.user.field_showroom.yml

@@ -0,0 +1,30 @@
+uuid: d9dc767c-3a20-4599-8564-8552448637ed
+langcode: en
+status: true
+dependencies:
+  config:
+    - field.storage.user.field_showroom
+    - taxonomy.vocabulary.showroom
+  module:
+    - user
+id: user.user.field_showroom
+field_name: field_showroom
+entity_type: user
+bundle: user
+label: Showroom
+description: ''
+required: false
+translatable: false
+default_value: {  }
+default_value_callback: ''
+settings:
+  handler: 'default:taxonomy_term'
+  handler_settings:
+    target_bundles:
+      showroom: showroom
+    sort:
+      field: name
+      direction: asc
+    auto_create: false
+    auto_create_bundle: ''
+field_type: entity_reference

+ 20 - 0
config/sync/field.storage.user.field_company.yml

@@ -0,0 +1,20 @@
+uuid: 71027dab-ea88-4962-b9f5-551715afd03e
+langcode: en
+status: true
+dependencies:
+  module:
+    - taxonomy
+    - user
+id: user.field_company
+field_name: field_company
+entity_type: user
+type: entity_reference
+settings:
+  target_type: taxonomy_term
+module: core
+locked: false
+cardinality: 1
+translatable: true
+indexes: {  }
+persist_with_no_fields: false
+custom_storage: false

+ 19 - 0
config/sync/field.storage.user.field_memo.yml

@@ -0,0 +1,19 @@
+uuid: 87f652fd-a549-475f-8e14-1882aa392473
+langcode: en
+status: true
+dependencies:
+  module:
+    - user
+id: user.field_memo
+field_name: field_memo
+entity_type: user
+type: string_long
+settings:
+  case_sensitive: false
+module: core
+locked: false
+cardinality: 1
+translatable: true
+indexes: {  }
+persist_with_no_fields: false
+custom_storage: false

+ 20 - 0
config/sync/field.storage.user.field_showroom.yml

@@ -0,0 +1,20 @@
+uuid: 04c3ccd6-7cfd-46f6-8687-ecdde95b7d06
+langcode: en
+status: true
+dependencies:
+  module:
+    - taxonomy
+    - user
+id: user.field_showroom
+field_name: field_showroom
+entity_type: user
+type: entity_reference
+settings:
+  target_type: taxonomy_term
+module: core
+locked: false
+cardinality: 1
+translatable: true
+indexes: {  }
+persist_with_no_fields: false
+custom_storage: false

+ 1 - 1
config/sync/migrate_plus.migration.d7_allpublicfiles.yml

@@ -1,4 +1,4 @@
-uuid: 08f56f89-ef1b-49ae-8321-61c164b21bc2
+uuid: ba23fbec-1d22-4a18-b572-c1a679e0aefd
 langcode: en
 status: true
 dependencies: {  }

+ 7 - 2
config/sync/migrate_plus.migration.d7_node_breve.yml

@@ -1,9 +1,9 @@
-uuid: fe5c7cd7-5404-420c-a41d-144c23f5a2c7
+uuid: acabbdc5-4d4e-4a84-9259-5c6b0591335c
 langcode: en
 status: true
 dependencies: {  }
 _core:
-  default_config_hash: JA4aMGGDJwLeCUNGla4k3R17rNjUTUbDb3UHhsVIRxQ
+  default_config_hash: 9C1U46FXLxeqPJ9INTQmsLtDe6e18iDy_U2gmhUpl4Q
 id: d7_node_breve
 class: null
 field_plugin_method: null
@@ -27,6 +27,10 @@ process:
   title: title
   created: created
   changed: changed
+  uid:
+    plugin: migration_lookup
+    migration: d7_users
+    source: uid
   field_migration:
     plugin: default_value
     default_value: migration_imported
@@ -94,6 +98,7 @@ destination:
 migration_dependencies:
   required:
     - d7_allpublicfiles
+    - d7_users
     - d7_taxonomy_term_thesaurus
     - d7_taxonomy_term_tags
     - d7_taxonomy_term_company

+ 1 - 1
config/sync/migrate_plus.migration.d7_node_breve_i18n.yml

@@ -1,4 +1,4 @@
-uuid: 54e7e1a7-afa1-44a2-b332-419c3cfeb7a4
+uuid: 9ba9ed3c-0403-47f7-833c-32eb5901e3a0
 langcode: en
 status: true
 dependencies: {  }

+ 7 - 2
config/sync/migrate_plus.migration.d7_node_materiau.yml

@@ -1,9 +1,9 @@
-uuid: 179f73ca-cb6a-4277-9d37-f8b0f804c446
+uuid: 5d164ac2-4f6b-44cf-a0ac-29a6c42c2290
 langcode: en
 status: true
 dependencies: {  }
 _core:
-  default_config_hash: vECgUQkA1A8_ZiNqfWtEenHdJrqYKE98xNWqiR19E_4
+  default_config_hash: i5TbqALRlvWgoqxwwZ8XeBUNtgZjummPwZQZM-2NRew
 id: d7_node_materiau
 class: null
 field_plugin_method: null
@@ -27,6 +27,10 @@ process:
   title: title
   created: created
   changed: changed
+  uid:
+    plugin: migration_lookup
+    migration: d7_users
+    source: uid
   field_short_description: field_nature_titre
   field_migration:
     plugin: default_value
@@ -140,6 +144,7 @@ destination:
 migration_dependencies:
   required:
     - d7_allpublicfiles
+    - d7_users
     - d7_taxonomy_term_thesaurus
     - d7_taxonomy_term_tags
     - d7_taxonomy_term_company

+ 1 - 1
config/sync/migrate_plus.migration.d7_node_materiau_i18n.yml

@@ -1,4 +1,4 @@
-uuid: 77834f54-2f0e-40ba-8019-69939d0ca1fe
+uuid: 3c1f0e83-eb0f-4eef-a98d-a5905d59f787
 langcode: en
 status: true
 dependencies: {  }

+ 1 - 1
config/sync/migrate_plus.migration.d7_taxonomy_term_company.yml

@@ -1,4 +1,4 @@
-uuid: acc28c34-ed9f-426d-af0f-abc8ac5f487f
+uuid: c3fbebf7-4117-458d-ad90-2cfc235784b4
 langcode: en
 status: true
 dependencies: {  }

+ 1 - 1
config/sync/migrate_plus.migration.d7_taxonomy_term_showroom.yml

@@ -1,4 +1,4 @@
-uuid: a5d4a3ab-6711-4609-8089-aa5dbcf67dd3
+uuid: 9e7ef86e-7eb8-45e7-901e-ad9bc412f210
 langcode: en
 status: true
 dependencies: {  }

+ 1 - 1
config/sync/migrate_plus.migration.d7_taxonomy_term_tags.yml

@@ -1,4 +1,4 @@
-uuid: 19726b72-67fa-4f1e-9266-a404d9b04c1c
+uuid: 8b2f1d14-85ec-4ac8-a03b-8beba280f2eb
 langcode: en
 status: true
 dependencies: {  }

+ 1 - 1
config/sync/migrate_plus.migration.d7_taxonomy_term_tags_i18n.yml

@@ -1,4 +1,4 @@
-uuid: 23fd1ac1-d176-4b6a-9f38-e005f5489745
+uuid: 13c714e0-c267-4ea7-8c2a-5380cde65359
 langcode: en
 status: true
 dependencies: {  }

+ 1 - 1
config/sync/migrate_plus.migration.d7_taxonomy_term_thesaurus.yml

@@ -1,4 +1,4 @@
-uuid: a978099f-5b98-4b31-808a-0642e769690f
+uuid: bc0c7ae3-5eda-4772-aa53-e25f139f5954
 langcode: en
 status: true
 dependencies: {  }

+ 1 - 1
config/sync/migrate_plus.migration.d7_taxonomy_term_thesaurus_i18n.yml

@@ -1,4 +1,4 @@
-uuid: 2fe883b6-f961-4687-8ad2-25ed24a7ced1
+uuid: a80a2e78-18ed-4205-9fd4-2c3dfabf1be1
 langcode: en
 status: true
 dependencies: {  }

+ 89 - 0
config/sync/migrate_plus.migration.d7_users.yml

@@ -0,0 +1,89 @@
+uuid: 20b9553f-981f-483e-a997-10d932905026
+langcode: en
+status: true
+dependencies: {  }
+_core:
+  default_config_hash: 3JaOIJug248HhFZJwv4iL-o3Na6-pzQKfvEzHZ4rPZw
+id: d7_users
+class: Drupal\user\Plugin\migrate\User
+field_plugin_method: null
+cck_plugin_method: null
+migration_tags:
+  - 'Drupal 7'
+  - Content
+migration_group: d7_materio
+label: 'User accounts'
+source:
+  plugin: d7_user
+process:
+  name: name
+  pass: pass
+  mail:
+    -
+      plugin: skip_on_value
+      equals: true
+      source: mail
+      method: row
+      value:
+        - dev@g-u-i.net
+        - admin@g-u-i.net
+    -
+      plugin: default_value
+      source: mail
+      default_value: null
+  created: created
+  access: access
+  login: login
+  status: status
+  timezone: timezone
+  langcode:
+    plugin: user_langcode
+    source: entity_language
+    fallback_to_site_default: false
+  preferred_langcode:
+    plugin: user_langcode
+    source: language
+    fallback_to_site_default: true
+  preferred_admin_langcode:
+    plugin: user_langcode
+    source: language
+    fallback_to_site_default: true
+  init: init
+  roles:
+    plugin: static_map
+    source: roles
+    default_value: 2
+    map:
+      1: anonymous
+      2: authenticated
+      3: admin
+      4: root
+      5: contact_company
+      6: adherent
+      7: free_user
+      8: premium
+      9: unverified
+      10: student
+      11: alpha_testeur
+      12: translator
+      13: admin_showroom
+  user_picture:
+    -
+      plugin: default_value
+      source: picture
+      default_value: null
+    -
+      plugin: migration_lookup
+      migration: d7_file
+  field_company:
+    plugin: migration_lookup
+    migration: d7_taxonomy_term_company
+    source: field_company
+  field_showroom:
+    plugin: migration_lookup
+    migration: d7_taxonomy_term_showroom
+    source: field_showroom
+  field_memo: field_memo
+destination:
+  plugin: 'entity:user'
+migration_dependencies: null

+ 2 - 2
config/sync/migrate_plus.migration_group.d7_materio.yml

@@ -1,5 +1,5 @@
-uuid: bb745097-c0b1-4e79-b7a2-9a2aebc60081
-langcode: fr
+uuid: f8a2f577-f066-4c45-b923-64b7a3029459
+langcode: en
 status: true
 dependencies:
   enforced:

+ 14 - 0
config/sync/system.action.user_add_role_action.adherent.yml

@@ -0,0 +1,14 @@
+uuid: a1539578-eb69-4d41-8da0-55c74c3c07c6
+langcode: en
+status: true
+dependencies:
+  config:
+    - user.role.adherent
+  module:
+    - user
+id: user_add_role_action.adherent
+label: 'Add the Adhérent role to the selected user(s)'
+type: user
+plugin: user_add_role_action
+configuration:
+  rid: adherent

+ 14 - 0
config/sync/system.action.user_add_role_action.admin_showroom.yml

@@ -0,0 +1,14 @@
+uuid: 4269c465-765a-4aa4-ab22-8964735d0fdd
+langcode: en
+status: true
+dependencies:
+  config:
+    - user.role.admin_showroom
+  module:
+    - user
+id: user_add_role_action.admin_showroom
+label: 'Add the Admin Showroom role to the selected user(s)'
+type: user
+plugin: user_add_role_action
+configuration:
+  rid: admin_showroom

+ 14 - 0
config/sync/system.action.user_add_role_action.alpha_testeur.yml

@@ -0,0 +1,14 @@
+uuid: d1068318-672f-4c75-99bc-941c28dce6c5
+langcode: en
+status: true
+dependencies:
+  config:
+    - user.role.alpha_testeur
+  module:
+    - user
+id: user_add_role_action.alpha_testeur
+label: 'Add the Alpha Testeur role to the selected user(s)'
+type: user
+plugin: user_add_role_action
+configuration:
+  rid: alpha_testeur

+ 14 - 0
config/sync/system.action.user_add_role_action.contact_company.yml

@@ -0,0 +1,14 @@
+uuid: 473a6692-fed9-4230-ab3d-d2fa231d034f
+langcode: en
+status: true
+dependencies:
+  config:
+    - user.role.contact_company
+  module:
+    - user
+id: user_add_role_action.contact_company
+label: 'Add the Contact Company role to the selected user(s)'
+type: user
+plugin: user_add_role_action
+configuration:
+  rid: contact_company

+ 14 - 0
config/sync/system.action.user_add_role_action.free_user.yml

@@ -0,0 +1,14 @@
+uuid: 627408e8-9ef1-4be1-a0f9-b61fdae7fefc
+langcode: en
+status: true
+dependencies:
+  config:
+    - user.role.free_user
+  module:
+    - user
+id: user_add_role_action.free_user
+label: 'Add the Free User role to the selected user(s)'
+type: user
+plugin: user_add_role_action
+configuration:
+  rid: free_user

+ 14 - 0
config/sync/system.action.user_add_role_action.premium.yml

@@ -0,0 +1,14 @@
+uuid: d78cc274-8638-4b3e-9839-6241db7fabcb
+langcode: en
+status: true
+dependencies:
+  config:
+    - user.role.premium
+  module:
+    - user
+id: user_add_role_action.premium
+label: 'Add the Premium role to the selected user(s)'
+type: user
+plugin: user_add_role_action
+configuration:
+  rid: premium

+ 14 - 0
config/sync/system.action.user_add_role_action.student.yml

@@ -0,0 +1,14 @@
+uuid: 957031fe-f1c1-40fd-8c6e-5c5e903dbddc
+langcode: en
+status: true
+dependencies:
+  config:
+    - user.role.student
+  module:
+    - user
+id: user_add_role_action.student
+label: 'Add the Student role to the selected user(s)'
+type: user
+plugin: user_add_role_action
+configuration:
+  rid: student

+ 14 - 0
config/sync/system.action.user_add_role_action.translator.yml

@@ -0,0 +1,14 @@
+uuid: a0056c79-5a7b-4066-a336-093abc47f6d5
+langcode: en
+status: true
+dependencies:
+  config:
+    - user.role.translator
+  module:
+    - user
+id: user_add_role_action.translator
+label: 'Add the Translator role to the selected user(s)'
+type: user
+plugin: user_add_role_action
+configuration:
+  rid: translator

+ 14 - 0
config/sync/system.action.user_add_role_action.unverified.yml

@@ -0,0 +1,14 @@
+uuid: f7c1157e-9ac6-4f8a-980c-f1be93767ced
+langcode: en
+status: true
+dependencies:
+  config:
+    - user.role.unverified
+  module:
+    - user
+id: user_add_role_action.unverified
+label: 'Add the Unverified role to the selected user(s)'
+type: user
+plugin: user_add_role_action
+configuration:
+  rid: unverified

+ 0 - 14
config/sync/system.action.user_add_role_action.user.yml

@@ -1,14 +0,0 @@
-uuid: 45201531-fce2-4bdd-97ff-e76c41baee24
-langcode: en
-status: true
-dependencies:
-  config:
-    - user.role.user
-  module:
-    - user
-id: user_add_role_action.user
-label: 'Add the User role to the selected user(s)'
-type: user
-plugin: user_add_role_action
-configuration:
-  rid: user

+ 14 - 0
config/sync/system.action.user_remove_role_action.adherent.yml

@@ -0,0 +1,14 @@
+uuid: 1533f2e8-8f85-4a50-a94f-0e5399f27b6b
+langcode: en
+status: true
+dependencies:
+  config:
+    - user.role.adherent
+  module:
+    - user
+id: user_remove_role_action.adherent
+label: 'Remove the Adhérent role from the selected user(s)'
+type: user
+plugin: user_remove_role_action
+configuration:
+  rid: adherent

+ 14 - 0
config/sync/system.action.user_remove_role_action.admin_showroom.yml

@@ -0,0 +1,14 @@
+uuid: f8feb602-5379-49e1-9a1f-90265d104c81
+langcode: en
+status: true
+dependencies:
+  config:
+    - user.role.admin_showroom
+  module:
+    - user
+id: user_remove_role_action.admin_showroom
+label: 'Remove the Admin Showroom role from the selected user(s)'
+type: user
+plugin: user_remove_role_action
+configuration:
+  rid: admin_showroom

+ 14 - 0
config/sync/system.action.user_remove_role_action.alpha_testeur.yml

@@ -0,0 +1,14 @@
+uuid: 291a98cf-6de7-4b7e-9e22-73c7d627e283
+langcode: en
+status: true
+dependencies:
+  config:
+    - user.role.alpha_testeur
+  module:
+    - user
+id: user_remove_role_action.alpha_testeur
+label: 'Remove the Alpha Testeur role from the selected user(s)'
+type: user
+plugin: user_remove_role_action
+configuration:
+  rid: alpha_testeur

+ 14 - 0
config/sync/system.action.user_remove_role_action.contact_company.yml

@@ -0,0 +1,14 @@
+uuid: c9c285a6-2cea-4018-bb0d-9d6c76eba6b6
+langcode: en
+status: true
+dependencies:
+  config:
+    - user.role.contact_company
+  module:
+    - user
+id: user_remove_role_action.contact_company
+label: 'Remove the Contact Company role from the selected user(s)'
+type: user
+plugin: user_remove_role_action
+configuration:
+  rid: contact_company

+ 14 - 0
config/sync/system.action.user_remove_role_action.free_user.yml

@@ -0,0 +1,14 @@
+uuid: 5460d66a-a7ec-434a-b214-3283b5ad93fe
+langcode: en
+status: true
+dependencies:
+  config:
+    - user.role.free_user
+  module:
+    - user
+id: user_remove_role_action.free_user
+label: 'Remove the Free User role from the selected user(s)'
+type: user
+plugin: user_remove_role_action
+configuration:
+  rid: free_user

+ 14 - 0
config/sync/system.action.user_remove_role_action.premium.yml

@@ -0,0 +1,14 @@
+uuid: e8b19807-4d49-4c61-b59d-fb66dadfafe8
+langcode: en
+status: true
+dependencies:
+  config:
+    - user.role.premium
+  module:
+    - user
+id: user_remove_role_action.premium
+label: 'Remove the Premium role from the selected user(s)'
+type: user
+plugin: user_remove_role_action
+configuration:
+  rid: premium

+ 14 - 0
config/sync/system.action.user_remove_role_action.student.yml

@@ -0,0 +1,14 @@
+uuid: 6a7df3b1-9b06-4271-afcf-1db44a640ff6
+langcode: en
+status: true
+dependencies:
+  config:
+    - user.role.student
+  module:
+    - user
+id: user_remove_role_action.student
+label: 'Remove the Student role from the selected user(s)'
+type: user
+plugin: user_remove_role_action
+configuration:
+  rid: student

+ 14 - 0
config/sync/system.action.user_remove_role_action.translator.yml

@@ -0,0 +1,14 @@
+uuid: 7936630e-e2e2-419a-85c8-55f356b69254
+langcode: en
+status: true
+dependencies:
+  config:
+    - user.role.translator
+  module:
+    - user
+id: user_remove_role_action.translator
+label: 'Remove the Translator role from the selected user(s)'
+type: user
+plugin: user_remove_role_action
+configuration:
+  rid: translator

+ 14 - 0
config/sync/system.action.user_remove_role_action.unverified.yml

@@ -0,0 +1,14 @@
+uuid: 6cc5e61e-7eb9-43fd-8148-ce591cbc2220
+langcode: en
+status: true
+dependencies:
+  config:
+    - user.role.unverified
+  module:
+    - user
+id: user_remove_role_action.unverified
+label: 'Remove the Unverified role from the selected user(s)'
+type: user
+plugin: user_remove_role_action
+configuration:
+  rid: unverified

+ 0 - 14
config/sync/system.action.user_remove_role_action.user.yml

@@ -1,14 +0,0 @@
-uuid: 88faba46-cc7f-475d-9777-42f0087670c8
-langcode: en
-status: true
-dependencies:
-  config:
-    - user.role.user
-  module:
-    - user
-id: user_remove_role_action.user
-label: 'Remove the User role from the selected user(s)'
-type: user
-plugin: user_remove_role_action
-configuration:
-  rid: user

+ 9 - 0
config/sync/user.role.adherent.yml

@@ -0,0 +1,9 @@
+uuid: aeab5dec-5794-4694-af5a-bfeb243ef3ce
+langcode: en
+status: true
+dependencies: {  }
+id: adherent
+label: Adhérent
+weight: -2
+is_admin: null
+permissions: {  }

+ 9 - 0
config/sync/user.role.admin_showroom.yml

@@ -0,0 +1,9 @@
+uuid: 7f1dff53-0e0e-4682-ae82-e633af536bb5
+langcode: en
+status: true
+dependencies: {  }
+id: admin_showroom
+label: 'Admin Showroom'
+weight: 5
+is_admin: null
+permissions: {  }

+ 9 - 0
config/sync/user.role.alpha_testeur.yml

@@ -0,0 +1,9 @@
+uuid: e9a81ad2-aefc-47ee-b0e3-ff576b63867d
+langcode: en
+status: true
+dependencies: {  }
+id: alpha_testeur
+label: 'Alpha Testeur'
+weight: 3
+is_admin: null
+permissions: {  }

+ 9 - 0
config/sync/user.role.contact_company.yml

@@ -0,0 +1,9 @@
+uuid: 9b3c30ad-d9b2-47c4-bdf2-f5c95287cb2a
+langcode: en
+status: true
+dependencies: {  }
+id: contact_company
+label: 'Contact Company'
+weight: -3
+is_admin: null
+permissions: {  }

+ 9 - 0
config/sync/user.role.free_user.yml

@@ -0,0 +1,9 @@
+uuid: 4eb8f2ac-1fef-4349-93b8-51fc0bbdecf3
+langcode: en
+status: true
+dependencies: {  }
+id: free_user
+label: 'Free User'
+weight: -1
+is_admin: null
+permissions: {  }

+ 9 - 0
config/sync/user.role.premium.yml

@@ -0,0 +1,9 @@
+uuid: ebd726b9-0534-4a72-b774-f7f4ccfb3d03
+langcode: en
+status: true
+dependencies: {  }
+id: premium
+label: Premium
+weight: 0
+is_admin: null
+permissions: {  }

+ 9 - 0
config/sync/user.role.student.yml

@@ -0,0 +1,9 @@
+uuid: f6f5d597-68e7-4746-88b4-f2d76f6a5616
+langcode: en
+status: true
+dependencies: {  }
+id: student
+label: Student
+weight: 2
+is_admin: null
+permissions: {  }

+ 9 - 0
config/sync/user.role.translator.yml

@@ -0,0 +1,9 @@
+uuid: 19ab6b22-07c6-48ef-ad7e-b9b698727851
+langcode: en
+status: true
+dependencies: {  }
+id: translator
+label: Translator
+weight: 4
+is_admin: null
+permissions: {  }

+ 9 - 0
config/sync/user.role.unverified.yml

@@ -0,0 +1,9 @@
+uuid: a704e20f-bd66-4da1-acc1-68e876955d74
+langcode: en
+status: true
+dependencies: {  }
+id: unverified
+label: Unverified
+weight: 1
+is_admin: null
+permissions: {  }

+ 0 - 15
config/sync/user.role.user.yml

@@ -1,15 +0,0 @@
-uuid: dba3cba9-6dcc-48a8-a89c-b6ad82a6af40
-langcode: fr
-status: true
-dependencies: {  }
-_core:
-  default_config_hash: i1HX2g6ycNxMoSaVKRrMZtmApin-bVKG1d0FG04peQw
-id: user
-label: User
-weight: -4
-is_admin: null
-permissions:
-  - 'create defalut workflow_transition'
-  - 'create default workflow_transition'
-  - 'create migration workflow_transition'
-  - 'create workflow workflow_transition'

+ 1228 - 0
config/sync/views.view.admin_users.yml

@@ -0,0 +1,1228 @@
+uuid: 4b9d00a7-92d9-413e-ab27-a77b073ce08e
+langcode: en
+status: true
+dependencies:
+  config:
+    - field.storage.user.field_company
+    - field.storage.user.field_memo
+    - field.storage.user.field_showroom
+    - taxonomy.vocabulary.company
+    - taxonomy.vocabulary.showroom
+    - user.role.admin
+    - user.role.root
+  module:
+    - pagerer
+    - taxonomy
+    - user
+    - views_bulk_operations
+id: admin_users
+label: 'Admin Users'
+module: views
+description: ''
+tag: ''
+base_table: users_field_data
+base_field: uid
+core: 8.x
+display:
+  default:
+    display_plugin: default
+    id: default
+    display_title: Master
+    position: 0
+    display_options:
+      access:
+        type: role
+        options:
+          role:
+            admin: admin
+            root: root
+      cache:
+        type: tag
+        options: {  }
+      query:
+        type: views_query
+        options:
+          disable_sql_rewrite: false
+          distinct: false
+          replica: false
+          query_comment: ''
+          query_tags: {  }
+      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
+      pager:
+        type: pagerer
+        options:
+          preset: default
+          items_per_page: 50
+          offset: 0
+          id: '0'
+          total_pages: ''
+          expose:
+            items_per_page: 0
+            items_per_page_label: 'Items per page'
+            items_per_page_options: '5, 10, 25, 50'
+            items_per_page_options_all: 0
+            items_per_page_options_all_label: '- All -'
+            offset: 0
+            offset_label: Offset
+      style:
+        type: table
+        options:
+          grouping: {  }
+          row_class: ''
+          default_row_class: true
+          override: true
+          sticky: false
+          caption: ''
+          summary: ''
+          description: ''
+          columns:
+            name: name
+            mail: name
+            operations: name
+            roles_target_id: roles_target_id
+            field_company: field_company
+            field_showroom: field_showroom
+            access: access
+            created: created
+            field_memo: field_memo
+          info:
+            name:
+              sortable: false
+              default_sort_order: asc
+              align: ''
+              separator: '<br/>'
+              empty_column: false
+              responsive: ''
+            mail:
+              sortable: false
+              default_sort_order: asc
+              align: ''
+              separator: ''
+              empty_column: false
+              responsive: ''
+            operations:
+              align: ''
+              separator: ''
+              empty_column: false
+              responsive: ''
+            roles_target_id:
+              sortable: false
+              default_sort_order: asc
+              align: ''
+              separator: ''
+              empty_column: false
+              responsive: ''
+            field_company:
+              sortable: false
+              default_sort_order: asc
+              align: ''
+              separator: ''
+              empty_column: false
+              responsive: ''
+            field_showroom:
+              sortable: false
+              default_sort_order: asc
+              align: ''
+              separator: ''
+              empty_column: false
+              responsive: ''
+            access:
+              sortable: true
+              default_sort_order: asc
+              align: ''
+              separator: ''
+              empty_column: false
+              responsive: ''
+            created:
+              sortable: true
+              default_sort_order: asc
+              align: ''
+              separator: ''
+              empty_column: false
+              responsive: ''
+            field_memo:
+              align: ''
+              separator: ''
+              empty_column: false
+              responsive: ''
+          default: '-1'
+          empty_table: false
+      row:
+        type: fields
+      fields:
+        views_bulk_operations_bulk_form:
+          id: views_bulk_operations_bulk_form
+          table: views
+          field: views_bulk_operations_bulk_form
+          relationship: none
+          group_type: group
+          admin_label: ''
+          label: 'Views bulk 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
+          batch: true
+          batch_size: 10
+          form_step: true
+          buttons: false
+          clear_on_exposed: 0
+          action_title: Action
+          selected_actions:
+            'entity:break_lock:user': 'entity:break_lock:user'
+            user_unblock_user_action: user_unblock_user_action
+            user_block_user_action: user_block_user_action
+            user_remove_role_action: user_remove_role_action
+            user_add_role_action: user_add_role_action
+            views_bulk_edit: 0
+            vbo_cancel_user_action: 0
+            views_bulk_operations_delete_entity: 0
+            pathauto_update_alias: 0
+            'entity:save_action:user': 'entity:save_action:user'
+          preconfiguration:
+            'entity:break_lock:user':
+              label_override: ''
+            user_unblock_user_action:
+              label_override: ''
+            user_block_user_action:
+              label_override: ''
+            user_remove_role_action:
+              label_override: ''
+            user_add_role_action:
+              label_override: ''
+            'entity:save_action:user':
+              label_override: ''
+          plugin_id: views_bulk_operations_bulk_form
+        name:
+          id: name
+          table: users_field_data
+          field: name
+          entity_type: user
+          entity_field: name
+          alter:
+            alter_text: false
+            make_link: false
+            absolute: false
+            trim: false
+            word_boundary: false
+            ellipsis: false
+            strip_tags: false
+            html: false
+          hide_empty: false
+          empty_zero: false
+          plugin_id: field
+          relationship: none
+          group_type: group
+          admin_label: ''
+          label: Name
+          exclude: 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_alter_empty: true
+          click_sort_column: value
+          type: user_name
+          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
+        mail:
+          id: mail
+          table: users_field_data
+          field: mail
+          relationship: none
+          group_type: group
+          admin_label: ''
+          label: Email
+          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: email_mailto
+          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
+          entity_type: user
+          entity_field: mail
+          plugin_id: field
+        operations:
+          id: operations
+          table: users
+          field: operations
+          relationship: none
+          group_type: group
+          admin_label: ''
+          label: 'Operations links'
+          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: false
+          entity_type: user
+          plugin_id: entity_operations
+        roles_target_id:
+          id: roles_target_id
+          table: user__roles
+          field: roles_target_id
+          relationship: none
+          group_type: group
+          admin_label: ''
+          label: Roles
+          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: ', '
+          entity_type: user
+          entity_field: roles
+          plugin_id: user_roles
+        field_company:
+          id: field_company
+          table: user__field_company
+          field: field_company
+          relationship: none
+          group_type: group
+          admin_label: ''
+          label: Company
+          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
+          plugin_id: field
+        field_showroom:
+          id: field_showroom
+          table: user__field_showroom
+          field: field_showroom
+          relationship: none
+          group_type: group
+          admin_label: ''
+          label: Showroom
+          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
+          plugin_id: field
+        access:
+          id: access
+          table: users_field_data
+          field: access
+          relationship: none
+          group_type: group
+          admin_label: ''
+          label: 'Last access'
+          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: html_date
+            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
+          entity_type: user
+          entity_field: access
+          plugin_id: field
+        created:
+          id: created
+          table: users_field_data
+          field: created
+          relationship: none
+          group_type: group
+          admin_label: ''
+          label: Created
+          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: html_date
+            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
+          entity_type: user
+          entity_field: created
+          plugin_id: field
+        field_memo:
+          id: field_memo
+          table: user__field_memo
+          field: field_memo
+          relationship: none
+          group_type: group
+          admin_label: ''
+          label: Memo
+          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: 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
+          plugin_id: field
+      filters:
+        status:
+          id: status
+          table: users_field_data
+          field: status
+          relationship: none
+          group_type: group
+          admin_label: ''
+          operator: '='
+          value: All
+          group: 1
+          exposed: true
+          expose:
+            operator_id: ''
+            label: Active
+            description: ''
+            use_operator: false
+            operator: status_op
+            identifier: status
+            required: false
+            remember: false
+            multiple: false
+            remember_roles:
+              authenticated: authenticated
+              anonymous: '0'
+              admin: '0'
+              root: '0'
+              contact_company: '0'
+              adherent: '0'
+              free_user: '0'
+              premium: '0'
+              unverified: '0'
+              student: '0'
+              alpha_testeur: '0'
+              translator: '0'
+              admin_showroom: '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: {  }
+          entity_type: user
+          entity_field: status
+          plugin_id: boolean
+        roles_target_id:
+          id: roles_target_id
+          table: user__roles
+          field: roles_target_id
+          relationship: none
+          group_type: group
+          admin_label: ''
+          operator: or
+          value: {  }
+          group: 1
+          exposed: true
+          expose:
+            operator_id: roles_target_id_op
+            label: Roles
+            description: ''
+            use_operator: false
+            operator: roles_target_id_op
+            identifier: roles_target_id
+            required: false
+            remember: false
+            multiple: false
+            remember_roles:
+              authenticated: authenticated
+              anonymous: '0'
+              admin: '0'
+              root: '0'
+              contact_company: '0'
+              adherent: '0'
+              free_user: '0'
+              premium: '0'
+              unverified: '0'
+              student: '0'
+              alpha_testeur: '0'
+              translator: '0'
+              admin_showroom: '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
+          entity_type: user
+          entity_field: roles
+          plugin_id: user_roles
+        mail:
+          id: mail
+          table: users_field_data
+          field: mail
+          relationship: none
+          group_type: group
+          admin_label: ''
+          operator: contains
+          value: ''
+          group: 1
+          exposed: true
+          expose:
+            operator_id: mail_op
+            label: Email
+            description: ''
+            use_operator: false
+            operator: mail_op
+            identifier: mail
+            required: false
+            remember: false
+            multiple: false
+            remember_roles:
+              authenticated: authenticated
+              anonymous: '0'
+              admin: '0'
+              root: '0'
+              contact_company: '0'
+              adherent: '0'
+              free_user: '0'
+              premium: '0'
+              unverified: '0'
+              student: '0'
+              alpha_testeur: '0'
+              translator: '0'
+              admin_showroom: '0'
+            placeholder: ''
+          is_grouped: false
+          group_info:
+            label: ''
+            description: ''
+            identifier: ''
+            optional: true
+            widget: select
+            multiple: false
+            remember: false
+            default_group: All
+            default_group_multiple: {  }
+            group_items: {  }
+          entity_type: user
+          entity_field: mail
+          plugin_id: string
+        uid:
+          id: uid
+          table: users_field_data
+          field: uid
+          relationship: none
+          group_type: group
+          admin_label: ''
+          operator: in
+          value: {  }
+          group: 1
+          exposed: true
+          expose:
+            operator_id: uid_op
+            label: 'Name (autocomplete)'
+            description: ''
+            use_operator: false
+            operator: uid_op
+            identifier: uid
+            required: false
+            remember: false
+            multiple: false
+            remember_roles:
+              authenticated: authenticated
+              anonymous: '0'
+              admin: '0'
+              root: '0'
+              contact_company: '0'
+              adherent: '0'
+              free_user: '0'
+              premium: '0'
+              unverified: '0'
+              student: '0'
+              alpha_testeur: '0'
+              translator: '0'
+              admin_showroom: '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: {  }
+          entity_type: user
+          entity_field: uid
+          plugin_id: user_name
+        field_company_target_id:
+          id: field_company_target_id
+          table: user__field_company
+          field: field_company_target_id
+          relationship: none
+          group_type: group
+          admin_label: ''
+          operator: or
+          value: {  }
+          group: 1
+          exposed: true
+          expose:
+            operator_id: field_company_target_id_op
+            label: 'Company (field_company)'
+            description: ''
+            use_operator: false
+            operator: field_company_target_id_op
+            identifier: field_company_target_id
+            required: false
+            remember: false
+            multiple: false
+            remember_roles:
+              authenticated: authenticated
+              anonymous: '0'
+              admin: '0'
+              root: '0'
+              contact_company: '0'
+              adherent: '0'
+              free_user: '0'
+              premium: '0'
+              unverified: '0'
+              student: '0'
+              alpha_testeur: '0'
+              translator: '0'
+              admin_showroom: '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
+          type: textfield
+          limit: true
+          vid: company
+          hierarchy: false
+          error_message: true
+          parent: 0
+          level_labels: ''
+          force_deepest: false
+          plugin_id: taxonomy_index_tid
+        field_showroom_target_id:
+          id: field_showroom_target_id
+          table: user__field_showroom
+          field: field_showroom_target_id
+          relationship: none
+          group_type: group
+          admin_label: ''
+          operator: or
+          value: {  }
+          group: 1
+          exposed: true
+          expose:
+            operator_id: field_showroom_target_id_op
+            label: 'Showroom (field_showroom)'
+            description: ''
+            use_operator: false
+            operator: field_showroom_target_id_op
+            identifier: field_showroom_target_id
+            required: false
+            remember: false
+            multiple: false
+            remember_roles:
+              authenticated: authenticated
+              anonymous: '0'
+              admin: '0'
+              root: '0'
+              contact_company: '0'
+              adherent: '0'
+              free_user: '0'
+              premium: '0'
+              unverified: '0'
+              student: '0'
+              alpha_testeur: '0'
+              translator: '0'
+              admin_showroom: '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
+          type: textfield
+          limit: true
+          vid: showroom
+          hierarchy: false
+          error_message: true
+          parent: 0
+          level_labels: ''
+          force_deepest: false
+          plugin_id: taxonomy_index_tid
+        field_memo_value:
+          id: field_memo_value
+          table: user__field_memo
+          field: field_memo_value
+          relationship: none
+          group_type: group
+          admin_label: ''
+          operator: contains
+          value: ''
+          group: 1
+          exposed: true
+          expose:
+            operator_id: field_memo_value_op
+            label: 'Memo (field_memo)'
+            description: ''
+            use_operator: false
+            operator: field_memo_value_op
+            identifier: field_memo_value
+            required: false
+            remember: false
+            multiple: false
+            remember_roles:
+              authenticated: authenticated
+              anonymous: '0'
+              admin: '0'
+              root: '0'
+              contact_company: '0'
+              adherent: '0'
+              free_user: '0'
+              premium: '0'
+              unverified: '0'
+              student: '0'
+              alpha_testeur: '0'
+              translator: '0'
+              admin_showroom: '0'
+            placeholder: ''
+          is_grouped: false
+          group_info:
+            label: ''
+            description: ''
+            identifier: ''
+            optional: true
+            widget: select
+            multiple: false
+            remember: false
+            default_group: All
+            default_group_multiple: {  }
+            group_items: {  }
+          plugin_id: string
+      sorts:
+        created:
+          id: created
+          table: users_field_data
+          field: created
+          order: DESC
+          entity_type: user
+          entity_field: created
+          plugin_id: date
+          relationship: none
+          group_type: group
+          admin_label: ''
+          exposed: false
+          expose:
+            label: ''
+          granularity: second
+      title: 'Admin Users'
+      header:
+        result:
+          id: result
+          table: views
+          field: result
+          relationship: none
+          group_type: group
+          admin_label: ''
+          empty: false
+          content: 'Displaying @start - @end of @total'
+          plugin_id: result
+      footer: {  }
+      empty: {  }
+      relationships: {  }
+      arguments: {  }
+      display_extenders:
+        views_ef_fieldset: {  }
+      filter_groups:
+        operator: AND
+        groups:
+          1: AND
+    cache_metadata:
+      max-age: 0
+      contexts:
+        - 'languages:language_content'
+        - 'languages:language_interface'
+        - url
+        - url.query_args
+        - user
+        - user.roles
+      tags:
+        - 'config:field.storage.user.field_company'
+        - 'config:field.storage.user.field_memo'
+        - 'config:field.storage.user.field_showroom'
+  page_1:
+    display_plugin: page
+    id: page_1
+    display_title: Page
+    position: 1
+    display_options:
+      display_extenders:
+        views_ef_fieldset: {  }
+      path: admin/people/users
+      menu:
+        type: tab
+        title: Users
+        description: ''
+        expanded: false
+        parent: ''
+        weight: 0
+        context: '0'
+        menu_name: main
+    cache_metadata:
+      max-age: 0
+      contexts:
+        - 'languages:language_content'
+        - 'languages:language_interface'
+        - url
+        - url.query_args
+        - user
+        - user.roles
+      tags:
+        - 'config:field.storage.user.field_company'
+        - 'config:field.storage.user.field_memo'
+        - 'config:field.storage.user.field_showroom'

+ 4 - 0
migrate-from-d7.sh

@@ -11,6 +11,10 @@ echo " "
 echo "Migrating Files"
 drush mim d7_allpublicfiles --feedback="1000"
 
+echo " "
+echo "Migrating Users"
+drush mim d7_users --update --feedback="1000"
+
 echo " "
 echo "Migrating Taxonomy"
 echo "Migrating thesaurus"

+ 6 - 0
web/modules/custom/materio_migrate/config/install/migrate_plus.migration.d7_node_breve.yml

@@ -28,6 +28,11 @@ process:
   created: created
   changed: changed
 
+  uid:
+    plugin: migration_lookup
+    migration: d7_users
+    source: uid
+
   field_migration:
     plugin: default_value
     default_value: 'migration_imported'
@@ -95,6 +100,7 @@ process:
 migration_dependencies:
   required:
     - d7_allpublicfiles
+    - d7_users
     - d7_taxonomy_term_thesaurus
     - d7_taxonomy_term_tags
     - d7_taxonomy_term_company

+ 6 - 0
web/modules/custom/materio_migrate/config/install/migrate_plus.migration.d7_node_materiau.yml

@@ -28,6 +28,11 @@ process:
   created: created
   changed: changed
 
+  uid:
+    plugin: migration_lookup
+    migration: d7_users
+    source: uid
+
   field_short_description: field_nature_titre
   field_migration:
     plugin: default_value
@@ -145,6 +150,7 @@ process:
 migration_dependencies:
   required:
     - d7_allpublicfiles
+    - d7_users
     - d7_taxonomy_term_thesaurus
     - d7_taxonomy_term_tags
     - d7_taxonomy_term_company

+ 109 - 0
web/modules/custom/materio_migrate/config/install/migrate_plus.migration.d7_users.yml

@@ -0,0 +1,109 @@
+id: d7_users
+label: User accounts
+migration_group: d7_materio
+audit: true
+migration_tags:
+  - Drupal 7
+  - Content
+class: Drupal\user\Plugin\migrate\User
+
+source:
+  plugin: d7_user
+
+destination:
+  plugin: entity:user
+
+process:
+  # If you are using this file to build a custom migration consider removing
+  # the uid field to allow incremental migrations.
+  # uid: uid
+
+  name: name
+  pass: pass
+  mail:
+    -
+      plugin: skip_on_value
+      equals: true
+      source: mail
+      method: row
+      value:
+        - "dev@g-u-i.net"
+        - "admin@g-u-i.net"
+    -
+      plugin: default_value
+      source: mail
+      default_value: null
+
+  created: created
+  access: access
+  login: login
+  status: status
+  timezone: timezone
+  langcode:
+    plugin: user_langcode
+    source: entity_language
+    fallback_to_site_default: false
+  preferred_langcode:
+    plugin: user_langcode
+    source: language
+    fallback_to_site_default: true
+  preferred_admin_langcode:
+    plugin: user_langcode
+    source: language
+    fallback_to_site_default: true
+  init: init
+  # roles:
+  #   plugin: migration_lookup
+  #   migration: d7_user_role
+  #   source: roles
+  roles:
+    plugin: static_map
+    source: roles
+    default_value: 2
+    map:
+      1: "anonymous"
+      2: "authenticated"
+      3: "admin"
+      4: "root"
+      5: "contact_company"
+      6: "adherent"
+      7: "free_user"
+      8: "premium"
+      9: "unverified"
+      10: "student"
+      11: "alpha_testeur"
+      12: "translator"
+      13: "admin_showroom"
+
+  user_picture:
+    -
+      plugin: default_value
+      source: picture
+      default_value: null
+    -
+      plugin: migration_lookup
+      migration: d7_file
+
+  field_company:
+    plugin: migration_lookup
+    migration: d7_taxonomy_term_company
+    source: field_company
+
+  field_showroom:
+    plugin: migration_lookup
+    migration: d7_taxonomy_term_showroom
+    source: field_showroom
+
+  field_memo: field_memo
+
+migration_dependencies:
+  required:
+    - d7_allpublicfiles
+  # optional:
+  #   - d7_field_instance
+  #   - d7_file
+  #   - language
+  #   - default_language
+  #   - user_picture_field_instance
+  #   - user_picture_entity_display
+  #   - user_picture_entity_form_display

+ 1 - 0
web/modules/custom/materio_migrate/src/Plugin/migrate/source/D7NodeBreve.php

@@ -65,6 +65,7 @@ class D7NodeBreve extends FieldableEntity {
       ->fields('n', [
         'nid',
         'type',
+        'uid',
         'language',
         'status',
         'created',

+ 1 - 0
web/modules/custom/materio_migrate/src/Plugin/migrate/source/D7NodeMateriau.php

@@ -65,6 +65,7 @@ class D7NodeMateriau extends FieldableEntity {
       ->fields('n', [
         'nid',
         'type',
+        'uid',
         'language',
         'status',
         'created',