浏览代码

added some config : editeur role, static, wysiwg, droits, etc

bach 8 月之前
父节点
当前提交
47a87c5319

+ 18 - 0
config/install/core.base_field_override.menu_link_content.menu_link_content.changed.yml

@@ -0,0 +1,18 @@
+uuid: 8cf3fc6c-0588-4a03-ab93-096ea2238d67
+langcode: fr
+status: true
+dependencies:
+  module:
+    - menu_link_content
+id: menu_link_content.menu_link_content.changed
+field_name: changed
+entity_type: menu_link_content
+bundle: menu_link_content
+label: Modifié
+description: 'Le moment où le lien de menu a été modifié pour la dernière fois.'
+required: false
+translatable: false
+default_value: {  }
+default_value_callback: ''
+settings: {  }
+field_type: changed

+ 18 - 0
config/install/core.base_field_override.menu_link_content.menu_link_content.description.yml

@@ -0,0 +1,18 @@
+uuid: 330bf0b7-02b6-4f0c-8e84-7364f51cefc7
+langcode: fr
+status: true
+dependencies:
+  module:
+    - menu_link_content
+id: menu_link_content.menu_link_content.description
+field_name: description
+entity_type: menu_link_content
+bundle: menu_link_content
+label: Description
+description: "S'affiche au survol du lien du menu."
+required: false
+translatable: false
+default_value: {  }
+default_value_callback: ''
+settings: {  }
+field_type: string

+ 18 - 0
config/install/core.base_field_override.menu_link_content.menu_link_content.title.yml

@@ -0,0 +1,18 @@
+uuid: 5174b1ec-3240-48a2-af10-6eb8ba9a231a
+langcode: fr
+status: true
+dependencies:
+  module:
+    - menu_link_content
+id: menu_link_content.menu_link_content.title
+field_name: title
+entity_type: menu_link_content
+bundle: menu_link_content
+label: 'Titre du lien dans le menu'
+description: 'Le texte à utiliser pour ce lien dans le menu.'
+required: true
+translatable: false
+default_value: {  }
+default_value_callback: ''
+settings: {  }
+field_type: string

+ 18 - 0
config/install/core.base_field_override.user.user.changed.yml

@@ -0,0 +1,18 @@
+uuid: 0199d524-aefa-4dd2-bb5d-484a5ad2394f
+langcode: fr
+status: true
+dependencies:
+  module:
+    - user
+id: user.user.changed
+field_name: changed
+entity_type: user
+bundle: user
+label: Modifié
+description: "Le moment auquel l'utilisateur a été modifié pour la dernière fois."
+required: false
+translatable: false
+default_value: {  }
+default_value_callback: ''
+settings: {  }
+field_type: changed

+ 19 - 0
config/install/core.base_field_override.user.user.path.yml

@@ -0,0 +1,19 @@
+uuid: 2ea89f1b-95e3-483f-838d-31a2ea1df8ac
+langcode: fr
+status: true
+dependencies:
+  module:
+    - path
+    - user
+id: user.user.path
+field_name: path
+entity_type: user
+bundle: user
+label: "Alias d'URL"
+description: ''
+required: false
+translatable: false
+default_value: {  }
+default_value_callback: ''
+settings: {  }
+field_type: path

+ 110 - 0
config/install/core.entity_form_display.node.static.default.yml

@@ -0,0 +1,110 @@
+uuid: 5d44108d-a6a6-4985-a3b8-dbe369bdaf9c
+langcode: fr
+status: true
+dependencies:
+  config:
+    - field.field.node.static.body
+    - node.type.static
+  module:
+    - field_group
+    - path
+    - text
+third_party_settings:
+  field_group:
+    group_details:
+      children:
+        - langcode
+        - translation
+      label: Details
+      region: content
+      parent_name: ''
+      weight: 10
+      format_type: details_sidebar
+      format_settings:
+        classes: ''
+        show_empty_fields: false
+        id: ''
+        label_as_html: false
+        open: true
+        description: ''
+        required_fields: true
+        weight: 0
+id: node.static.default
+targetEntityType: node
+bundle: static
+mode: default
+content:
+  body:
+    type: text_textarea_with_summary
+    weight: 1
+    region: content
+    settings:
+      rows: 9
+      summary_rows: 3
+      placeholder: ''
+      show_summary: false
+    third_party_settings: {  }
+  created:
+    type: datetime_timestamp
+    weight: 4
+    region: content
+    settings: {  }
+    third_party_settings: {  }
+  langcode:
+    type: language_select
+    weight: 2
+    region: content
+    settings:
+      include_locked: true
+    third_party_settings: {  }
+  path:
+    type: path
+    weight: 8
+    region: content
+    settings: {  }
+    third_party_settings: {  }
+  promote:
+    type: boolean_checkbox
+    weight: 6
+    region: content
+    settings:
+      display_label: true
+    third_party_settings: {  }
+  status:
+    type: boolean_checkbox
+    weight: 9
+    region: content
+    settings:
+      display_label: true
+    third_party_settings: {  }
+  sticky:
+    type: boolean_checkbox
+    weight: 7
+    region: content
+    settings:
+      display_label: true
+    third_party_settings: {  }
+  title:
+    type: string_textfield
+    weight: 0
+    region: content
+    settings:
+      size: 60
+      placeholder: ''
+    third_party_settings: {  }
+  translation:
+    weight: 3
+    region: content
+    settings: {  }
+    third_party_settings: {  }
+  uid:
+    type: entity_reference_autocomplete
+    weight: 3
+    region: content
+    settings:
+      match_operator: CONTAINS
+      match_limit: 10
+      size: 60
+      placeholder: ''
+    third_party_settings: {  }
+hidden: {  }

+ 82 - 0
config/install/filter.format.wysiwyg copy.yml

@@ -0,0 +1,82 @@
+uuid: e37b00eb-35f2-4be9-93f5-ecaa1d4bb530
+langcode: fr
+status: true
+dependencies:
+  module:
+    - editor
+    - pathologic
+_core:
+  default_config_hash: a0dSxrd1nnzeSvKpvFmtoLpxDd3Nj6E7dQN-MZUi20g
+name: wysiwyg
+format: wysiwyg
+weight: 0
+filters:
+  editor_file_reference:
+    id: editor_file_reference
+    provider: editor
+    status: true
+    weight: -50
+    settings: {  }
+  filter_align:
+    id: filter_align
+    provider: filter
+    status: false
+    weight: -41
+    settings: {  }
+  filter_autop:
+    id: filter_autop
+    provider: filter
+    status: true
+    weight: -49
+    settings: {  }
+  filter_caption:
+    id: filter_caption
+    provider: filter
+    status: false
+    weight: -40
+    settings: {  }
+  filter_html:
+    id: filter_html
+    provider: filter
+    status: false
+    weight: -43
+    settings:
+      allowed_html: '<em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <h2 id> <h3 id> <h5 id> <h6 id> <u> <a href hreflang !href accesskey id rel target title data-entity-type data-entity-uuid data-entity-substitution> <img src alt data-entity-type data-entity-uuid data-entity-substitution> <p> <h1> <pre> <h4 id class="inter-titre">'
+      filter_html_help: true
+      filter_html_nofollow: false
+  filter_html_escape:
+    id: filter_html_escape
+    provider: filter
+    status: false
+    weight: -42
+    settings: {  }
+  filter_html_image_secure:
+    id: filter_html_image_secure
+    provider: filter
+    status: true
+    weight: -48
+    settings: {  }
+  filter_htmlcorrector:
+    id: filter_htmlcorrector
+    provider: filter
+    status: true
+    weight: -47
+    settings: {  }
+  filter_pathologic:
+    id: filter_pathologic
+    provider: pathologic
+    status: false
+    weight: 50
+    settings:
+      settings_source: global
+      local_settings:
+        protocol_style: full
+        local_paths: ''
+        keep_language_prefix: true
+  filter_url:
+    id: filter_url
+    provider: filter
+    status: true
+    weight: -45
+    settings:
+      filter_url_length: 72

+ 14 - 0
config/install/system.action.user_add_role_action.editeur.yml

@@ -0,0 +1,14 @@
+uuid: 95cfff39-94e5-42b9-afd6-360b1cdb8c90
+langcode: fr
+status: true
+dependencies:
+  config:
+    - user.role.editeur
+  module:
+    - user
+id: user_add_role_action.editeur
+label: 'Ajouter le rôle Editeur aux utilisateurs sélectionnés'
+type: user
+plugin: user_add_role_action
+configuration:
+  rid: editeur

+ 14 - 0
config/install/system.action.user_remove_role_action.editeur.yml

@@ -0,0 +1,14 @@
+uuid: c19f8942-b617-4096-8e63-1b5cc104299c
+langcode: fr
+status: true
+dependencies:
+  config:
+    - user.role.editeur
+  module:
+    - user
+id: user_remove_role_action.editeur
+label: 'Enlever le rôle Editeur des utilisateurs sélectionnés'
+type: user
+plugin: user_remove_role_action
+configuration:
+  rid: editeur

+ 55 - 0
config/install/user.role.admin copy.yml

@@ -0,0 +1,55 @@
+uuid: 740a3928-0a3e-4953-ae13-51e693092452
+langcode: fr
+status: true
+dependencies:
+  config:
+    - filter.format.wysiwyg
+    - node.type.static
+  module:
+    - actions_permissions
+    - content_translation
+    - file
+    - filter
+    - locale
+    - node
+    - system
+    - toolbar
+_core:
+  default_config_hash: qjP-_ce85KMPC6bVZSJhrJVg9g3ctrzIduVBuGb1c9A
+id: admin
+label: Admin
+weight: -7
+is_admin: null
+permissions:
+  - 'access administration pages'
+  - 'access content overview'
+  - 'access files overview'
+  - 'access toolbar'
+  - 'administer nodes'
+  - 'administer users'
+  - 'change own username'
+  - 'create content translations'
+  - 'create static content'
+  - 'edit any static content'
+  - 'execute entity:save_action menu_link_content'
+  - 'execute entity:save_action node'
+  - 'execute entity:save_action taxonomy_term'
+  - 'execute entity:save_action user'
+  - 'execute node_assign_owner_action node'
+  - 'execute node_make_sticky_action node'
+  - 'execute node_make_unsticky_action node'
+  - 'execute node_promote_action node'
+  - 'execute node_unpromote_action node'
+  - 'execute user_add_role_action user'
+  - 'execute user_block_user_action user'
+  - 'execute user_remove_role_action user'
+  - 'execute user_unblock_user_action user'
+  - 'execute vbo_cancel_user_action user'
+  - 'execute views_bulk_edit all'
+  - 'revert static revisions'
+  - 'translate editable entities'
+  - 'translate interface'
+  - 'update content translations'
+  - 'use text format wysiwyg'
+  - 'view static revisions'
+  - 'view the administration theme'

+ 41 - 0
config/install/user.role.editeur.yml

@@ -0,0 +1,41 @@
+uuid: 7740ebe5-9200-4336-b6b8-c29afee5f3b4
+langcode: fr
+status: true
+dependencies:
+  config:
+    - filter.format.wysiwyg
+    - node.type.static
+  module:
+    - actions_permissions
+    - content_translation
+    - filter
+    - locale
+    - node
+    - system
+    - toolbar
+id: editeur
+label: Editeur
+weight: -5
+is_admin: null
+permissions:
+  - 'access administration pages'
+  - 'access content overview'
+  - 'access toolbar'
+  - 'administer nodes'
+  - 'create content translations'
+  - 'create static content'
+  - 'edit any static content'
+  - 'execute entity:save_action node'
+  - 'execute node_assign_owner_action node'
+  - 'execute node_make_sticky_action node'
+  - 'execute node_make_unsticky_action node'
+  - 'execute node_promote_action node'
+  - 'execute node_unpromote_action node'
+  - 'revert static revisions'
+  - 'translate editable entities'
+  - 'translate interface'
+  - 'update content translations'
+  - 'use text format wysiwyg'
+  - 'view own unpublished content'
+  - 'view static revisions'
+  - 'view the administration theme'