Browse Source

allow editor to delete static content

bach 1 year ago
parent
commit
0921b72041
2 changed files with 3 additions and 0 deletions
  1. 2 0
      src/config/sync/user.role.admin.yml
  2. 1 0
      src/config/sync/user.role.editeur.yml

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

@@ -36,9 +36,11 @@ permissions:
   - 'create texte content'
   - 'create texte_prod content'
   - 'delete any creation content'
+  - 'delete any static content'
   - 'delete any texte content'
   - 'delete any texte_prod content'
   - 'delete own creation content'
+  - 'delete own static content'
   - 'delete own texte content'
   - 'delete own texte_prod content'
   - 'edit any creation content'

+ 1 - 0
src/config/sync/user.role.editeur.yml

@@ -44,6 +44,7 @@ permissions:
   - 'create texte content'
   - 'create texte_prod content'
   - 'delete any creation content'
+  - 'delete any static content'
   - 'delete any texte content'
   - 'delete any texte_prod content'
   - 'delete own creation content'