Browse Source

actus permissions

bach 8 tháng trước cách đây
mục cha
commit
750e0f92c3
2 tập tin đã thay đổi với 14 bổ sung0 xóa
  1. 8 0
      config/sync/user.role.admin.yml
  2. 6 0
      config/sync/user.role.editor.yml

+ 8 - 0
config/sync/user.role.admin.yml

@@ -4,6 +4,7 @@ status: true
 dependencies:
   config:
     - filter.format.wysiwyg
+    - node.type.actualite
     - node.type.operation
     - node.type.static
   module:
@@ -34,11 +35,16 @@ permissions:
   - 'administer users'
   - 'break content lock'
   - 'change own username'
+  - 'create actualite content'
   - 'create content translations'
+  - 'delete any actualite content'
+  - 'delete own actualite content'
+  - 'edit any actualite content'
   - 'edit any operation content'
   - 'edit any static content'
   - 'edit contact config page entity'
   - 'edit mentions_legales config page entity'
+  - 'edit own actualite content'
   - 'edit partenaires config page entity'
   - 'execute entity:break_lock config_pages'
   - 'execute entity:break_lock node'
@@ -56,9 +62,11 @@ permissions:
   - 'execute user_unblock_user_action user'
   - 'execute vbo_cancel_user_action user'
   - 'execute views_bulk_edit all'
+  - 'revert actualite revisions'
   - 'revert static revisions'
   - 'update content translations'
   - 'use text format wysiwyg'
+  - 'view actualite revisions'
   - 'view config_pages entity'
   - 'view static revisions'
   - 'view the administration theme'

+ 6 - 0
config/sync/user.role.editor.yml

@@ -4,6 +4,7 @@ status: true
 dependencies:
   config:
     - filter.format.wysiwyg
+    - node.type.actualite
     - node.type.static
   module:
     - actions_permissions
@@ -25,16 +26,21 @@ permissions:
   - 'access toolbar'
   - 'access user profiles'
   - 'break content lock'
+  - 'create actualite content'
+  - 'edit any actualite content'
   - 'edit any static content'
   - 'edit contact config page entity'
   - 'edit mentions_legales config page entity'
+  - 'edit own actualite content'
   - 'edit partenaires config page entity'
   - 'execute entity:break_lock config_pages'
   - 'execute entity:break_lock node'
   - 'execute entity:save_action config_pages'
   - 'execute entity:save_action node'
+  - 'revert actualite revisions'
   - 'revert static revisions'
   - 'use text format wysiwyg'
+  - 'view actualite revisions'
   - 'view static revisions'
   - 'view the administration theme'
   - 'view user email addresses'