bach 7 miesięcy temu
rodzic
commit
616deb4e85

+ 1 - 0
src/config/sync/core.extension.yml

@@ -105,6 +105,7 @@ module:
   ouatt_users: 0
   page_cache: 0
   pagerer: 0
+  paragraphs_type_permissions: 0
   path: 0
   path_alias: 0
   path_alias_xt: 0

+ 1 - 1
src/config/sync/devel.settings.yml

@@ -8,6 +8,6 @@ error_handlers:
 rebuild_theme: false
 debug_mail_file_format: '%to-%subject-%datetime.mail.txt'
 debug_mail_directory: 'temporary://devel-mails'
-devel_dumper: kint
+devel_dumper: var_dumper
 debug_logfile: 'temporary://drupal_debug.txt'
 debug_pre: false

+ 20 - 0
src/config/sync/rest.resource.entity.paragraph.yml

@@ -0,0 +1,20 @@
+uuid: 9311a692-b417-4d6c-9b77-4053729b757d
+langcode: fr
+status: true
+dependencies:
+  module:
+    - paragraphs
+    - serialization
+    - user
+id: entity.paragraph
+plugin_id: 'entity:paragraph'
+granularity: resource
+configuration:
+  methods:
+    - GET
+    - POST
+    - PATCH
+  formats:
+    - json
+  authentication:
+    - cookie

+ 3 - 0
src/config/sync/user.role.admin.yml

@@ -21,6 +21,7 @@ dependencies:
     - filter
     - group
     - node
+    - paragraphs_type_permissions
     - regcode
     - role_delegation
     - system
@@ -67,6 +68,8 @@ permissions:
   - 'create evenement content'
   - 'create generique workflow_transition'
   - 'create page content'
+  - 'create paragraph content entite_concernement'
+  - 'create paragraph content source'
   - 'create reponse content'
   - 'create static content'
   - 'create terms in collectionneurs'

+ 7 - 0
src/config/sync/user.role.anonymous.yml

@@ -13,6 +13,7 @@ dependencies:
     - group
     - node
     - ouatt_searchapi
+    - paragraphs_type_permissions
     - system
     - workflow
 _core:
@@ -38,5 +39,11 @@ permissions:
   - 'use text format wysiwyg'
   - 'view concernement revisions'
   - 'view entite revisions'
+  - 'view paragraph content entite_concernement'
+  - 'view paragraph content groupes_interets'
+  - 'view paragraph content mise_en_oeuvre_decision'
+  - 'view paragraph content reception_application_decision'
+  - 'view paragraph content reception_et_traitement'
+  - 'view paragraph content source'
   - 'view published fil entities'
   - 'view search api pages'

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

@@ -17,6 +17,7 @@ dependencies:
     - group
     - node
     - ouatt_searchapi
+    - paragraphs_type_permissions
     - system
     - workflow
 _core:
@@ -41,6 +42,12 @@ permissions:
   - 'create defalut workflow_transition'
   - 'create default workflow_transition'
   - 'create generique workflow_transition'
+  - 'create paragraph content entite_concernement'
+  - 'create paragraph content groupes_interets'
+  - 'create paragraph content mise_en_oeuvre_decision'
+  - 'create paragraph content reception_application_decision'
+  - 'create paragraph content reception_et_traitement'
+  - 'create paragraph content source'
   - 'delete own composition entities'
   - 'delete own fil entities'
   - 'edit own besoin content'
@@ -53,6 +60,12 @@ permissions:
   - 'execute ouatterrir persisted graphql requests'
   - 'opt-in or out of matomo tracking'
   - 'revert own confidentialite workflow_transition'
+  - 'update paragraph content entite_concernement'
+  - 'update paragraph content groupes_interets'
+  - 'update paragraph content mise_en_oeuvre_decision'
+  - 'update paragraph content reception_application_decision'
+  - 'update paragraph content reception_et_traitement'
+  - 'update paragraph content source'
   - 'use chutier'
   - 'use text format linkonly'
   - 'use text format wysiwyg'
@@ -61,6 +74,12 @@ permissions:
   - 'view own unpublished chutier entities'
   - 'view own unpublished composition entities'
   - 'view own unpublished fil entities'
+  - 'view paragraph content entite_concernement'
+  - 'view paragraph content groupes_interets'
+  - 'view paragraph content mise_en_oeuvre_decision'
+  - 'view paragraph content reception_application_decision'
+  - 'view paragraph content reception_et_traitement'
+  - 'view paragraph content source'
   - 'view published composition entities'
   - 'view published fil entities'
   - 'view search api pages'

+ 2 - 0
src/config/sync/user.role.group_admin.yml

@@ -13,6 +13,7 @@ dependencies:
   module:
     - administerusersbyrole
     - node
+    - paragraphs_type_permissions
     - role_delegation
     - system
     - taxonomy
@@ -33,6 +34,7 @@ permissions:
   - 'create concernement content'
   - 'create confidentialite workflow_transition'
   - 'create entite content'
+  - 'create paragraph content source'
   - 'create reponse content'
   - 'create terms in lieu'
   - 'create terms in structure'

+ 2 - 0
src/config/sync/user.role.group_member.yml

@@ -10,6 +10,7 @@ dependencies:
     - node.type.reponse
   module:
     - node
+    - paragraphs_type_permissions
     - system
     - toolbar
     - workflow
@@ -25,6 +26,7 @@ permissions:
   - 'create concernement content'
   - 'create confidentialite workflow_transition'
   - 'create entite content'
+  - 'create paragraph content source'
   - 'create reponse content'
   - 'delete own cercle_politique content'
   - 'delete own reponse content'

+ 2 - 0
src/config/sync/user.role.user.yml

@@ -8,6 +8,7 @@ dependencies:
     - node.type.reponse
   module:
     - node
+    - paragraphs_type_permissions
     - workflow
 _core:
   default_config_hash: i1HX2g6ycNxMoSaVKRrMZtmApin-bVKG1d0FG04peQw
@@ -21,6 +22,7 @@ permissions:
   - 'create confidentialite workflow_transition'
   - 'create defalut workflow_transition'
   - 'create default workflow_transition'
+  - 'create paragraph content source'
   - 'create reponse content'
   - 'delete own cercle_politique content'
   - 'delete own reponse content'

+ 298 - 0
src/config/sync/views.view.admin_paragraphs.yml

@@ -0,0 +1,298 @@
+uuid: 5ae56dae-812e-4739-94e7-3f6ec6d856e9
+langcode: fr
+status: true
+dependencies:
+  config:
+    - paragraphs.paragraphs_type.source
+  module:
+    - paragraphs
+    - user
+id: admin_paragraphs
+label: 'Admin Paragraphs'
+module: views
+description: ''
+tag: ''
+base_table: paragraphs_item_field_data
+base_field: id
+display:
+  default:
+    id: default
+    display_title: Default
+    display_plugin: default
+    position: 0
+    display_options:
+      title: 'Admin Paragraphs Sources'
+      fields:
+        id:
+          id: id
+          table: paragraphs_item_field_data
+          field: id
+          relationship: none
+          group_type: group
+          admin_label: ''
+          entity_type: null
+          entity_field: id
+          plugin_id: field
+          label: ''
+          exclude: false
+          alter:
+            alter_text: false
+            text: ''
+            make_link: false
+            path: ''
+            absolute: false
+            external: false
+            replace_spaces: false
+            path_case: none
+            trim_whitespace: false
+            alt: ''
+            rel: ''
+            link_class: ''
+            prefix: ''
+            suffix: ''
+            target: ''
+            nl2br: false
+            max_length: 0
+            word_boundary: true
+            ellipsis: true
+            more_link: false
+            more_link_text: ''
+            more_link_path: ''
+            strip_tags: false
+            trim: false
+            preserve_tags: ''
+            html: false
+          element_type: ''
+          element_class: ''
+          element_label_type: ''
+          element_label_class: ''
+          element_label_colon: 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: number_integer
+          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
+        parent_field_name:
+          id: parent_field_name
+          table: paragraphs_item_field_data
+          field: parent_field_name
+          relationship: none
+          group_type: group
+          admin_label: ''
+          entity_type: paragraph
+          entity_field: parent_field_name
+          plugin_id: field
+          label: ''
+          exclude: false
+          alter:
+            alter_text: false
+            text: ''
+            make_link: false
+            path: ''
+            absolute: false
+            external: false
+            replace_spaces: false
+            path_case: none
+            trim_whitespace: false
+            alt: ''
+            rel: ''
+            link_class: ''
+            prefix: ''
+            suffix: ''
+            target: ''
+            nl2br: false
+            max_length: 0
+            word_boundary: true
+            ellipsis: true
+            more_link: false
+            more_link_text: ''
+            more_link_path: ''
+            strip_tags: false
+            trim: false
+            preserve_tags: ''
+            html: false
+          element_type: ''
+          element_class: ''
+          element_label_type: ''
+          element_label_class: ''
+          element_label_colon: false
+          element_wrapper_type: ''
+          element_wrapper_class: ''
+          element_default_classes: true
+          empty: ''
+          hide_empty: false
+          empty_zero: false
+          hide_alter_empty: true
+          click_sort_column: value
+          type: string
+          settings: {  }
+          group_column: value
+          group_columns: {  }
+          group_rows: true
+          delta_limit: 0
+          delta_offset: 0
+          delta_reversed: false
+          delta_first_last: false
+          multi_type: separator
+          separator: ', '
+          field_api_classes: false
+      pager:
+        type: mini
+        options:
+          offset: 0
+          items_per_page: 10
+          total_pages: null
+          id: 0
+          tags:
+            next: ››
+            previous: ‹‹
+          expose:
+            items_per_page: false
+            items_per_page_label: 'Items per page'
+            items_per_page_options: '5, 10, 25, 50'
+            items_per_page_options_all: false
+            items_per_page_options_all_label: '- All -'
+            offset: false
+            offset_label: Offset
+      exposed_form:
+        type: basic
+        options:
+          submit_button: Apply
+          reset_button: false
+          reset_button_label: Reset
+          exposed_sorts_label: 'Sort by'
+          expose_sort_order: true
+          sort_asc_label: Asc
+          sort_desc_label: Desc
+      access:
+        type: perm
+        options:
+          perm: 'administer nodes'
+      cache:
+        type: tag
+        options: {  }
+      empty: {  }
+      sorts: {  }
+      arguments: {  }
+      filters:
+        status:
+          id: status
+          table: paragraphs_item_field_data
+          field: status
+          entity_type: paragraph
+          entity_field: status
+          plugin_id: boolean
+          value: '1'
+          group: 1
+          expose:
+            operator: ''
+            operator_limit_selection: false
+            operator_list: {  }
+        type:
+          id: type
+          table: paragraphs_item_field_data
+          field: type
+          relationship: none
+          group_type: group
+          admin_label: ''
+          entity_type: paragraph
+          entity_field: type
+          plugin_id: bundle
+          operator: in
+          value:
+            source: source
+          group: 1
+          exposed: false
+          expose:
+            operator_id: ''
+            label: ''
+            description: ''
+            use_operator: false
+            operator: ''
+            operator_limit_selection: false
+            operator_list: {  }
+            identifier: ''
+            required: false
+            remember: false
+            multiple: false
+            remember_roles:
+              authenticated: authenticated
+            reduce: false
+          is_grouped: false
+          group_info:
+            label: ''
+            description: ''
+            identifier: ''
+            optional: true
+            widget: select
+            multiple: false
+            remember: false
+            default_group: All
+            default_group_multiple: {  }
+            group_items: {  }
+      style:
+        type: default
+      row:
+        type: fields
+      query:
+        type: views_query
+        options:
+          query_comment: ''
+          disable_sql_rewrite: false
+          distinct: false
+          replica: false
+          query_tags: {  }
+      relationships: {  }
+      header: {  }
+      footer: {  }
+      display_extenders: {  }
+    cache_metadata:
+      max-age: -1
+      contexts:
+        - 'languages:language_content'
+        - 'languages:language_interface'
+        - url.query_args
+        - user.permissions
+      tags: {  }
+  page_1:
+    id: page_1
+    display_title: 'Page Sources'
+    display_plugin: page
+    position: 1
+    display_options:
+      display_description: ''
+      display_extenders:
+        views_ef_fieldset: {  }
+      path: admin/content/sources
+      menu:
+        type: tab
+        title: Sources
+        description: ''
+        weight: 0
+        expanded: false
+        menu_name: main
+        parent: ''
+        context: '0'
+    cache_metadata:
+      max-age: -1
+      contexts:
+        - 'languages:language_content'
+        - 'languages:language_interface'
+        - url.query_args
+        - user.permissions
+      tags: {  }