bach 1 месяц назад
Родитель
Сommit
2e3691a090

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

@@ -1,7 +1,7 @@
 _core:
   default_config_hash: ve5n0mfUSWWZEFldenHnFrpcL1XKTjzTacerxemPPU4
 langcode: fr
-read_only: true
+read_only: false
 maintenance_header_retry_seconds:
   min: 5
   max: 10

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

@@ -0,0 +1,20 @@
+uuid: 549f7239-e167-45eb-b238-c2dbc5173eae
+langcode: fr
+status: true
+dependencies:
+  module:
+    - file
+    - serialization
+    - user
+id: entity.file
+plugin_id: 'entity:file'
+granularity: resource
+configuration:
+  methods:
+    - GET
+    - POST
+    - PATCH
+  formats:
+    - json
+  authentication:
+    - cookie

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

@@ -10,6 +10,7 @@ dependencies:
     - node.type.concernement
     - node.type.entite
   module:
+    - actions_permissions
     - devel
     - filter
     - graphql
@@ -47,6 +48,7 @@ permissions:
   - 'edit own chutier entities'
   - 'edit own composition entities'
   - 'edit own fil entities'
+  - 'execute entity:save_action file'
   - 'execute ouatterrir arbitrary graphql requests'
   - 'execute ouatterrir persisted graphql requests'
   - 'opt-in or out of matomo tracking'