Amélioration de defaultdata

This commit is contained in:
Fred Tempez 2023-07-18 18:50:19 +02:00
parent ef7cd70c5f
commit 7e7d1f1f43

View File

@ -475,7 +475,7 @@ class init extends common
], ],
'2' => [ '2' => [
'1' => [ '1' => [
'name' => 'Rédacteur simple', 'name' => 'Editeur simple',
'readonly' => false, 'readonly' => false,
'comment' => 'Édition des pages', 'comment' => 'Édition des pages',
'filemanager' => true, 'filemanager' => true,
@ -493,18 +493,18 @@ class init extends common
'chmod' => false 'chmod' => false
], ],
'folder' => [ 'folder' => [
'create' => true, 'create' => false,
'delete' => true, 'delete' => false,
'rename' => true, 'rename' => false,
'copycut' => false, 'copycut' => false,
'chmod' => false, 'chmod' => false,
'share' => true, 'share' => true,
'path' => './site/file/source/partage/', 'path' => './site/file/source/partage/',
], ],
'page' => [ 'page' => [
'add' => true, 'add' => false,
'delete' => true, 'delete' => false,
'duplicate' => true, 'duplicate' => false,
'edit' => true, 'edit' => true,
'jsEditor' => true, 'jsEditor' => true,
'cssEditor' => true, 'cssEditor' => true,
@ -512,53 +512,53 @@ class init extends common
], ],
'blog' => [ 'blog' => [
'add' => true, 'add' => true,
'delete' => true, 'delete' => false,
'edit' => true, 'edit' => true,
'option' => true, 'option' => false,
'config' => true, 'config' => false,
'comment' => true, 'comment' => false,
'commentApprove' => true, 'commentApprove' => false,
'commentDelete' => true, 'commentDelete' => false,
'commentDeleteAll' => true, 'commentDeleteAll' => false,
], ],
'form' => [ 'form' => [
'option' => true, 'option' => false,
'config' => true, 'config' => false,
'data' => true, 'data' => false,
'delete' => true, 'delete' => false,
'deleteAll' => true, 'deleteAll' => false,
'export2csv' => true, 'export2csv' => false,
], ],
'gallery' => [ 'gallery' => [
'config' => true, 'config' => false,
'delete' => true, 'delete' => false,
'edit' => true, 'edit' => false,
'add' => true, 'add' => false,
'option' => true, 'option' => false,
'theme' => true, 'theme' => false,
], ],
'news' => [ 'news' => [
'add' => true, 'add' => true,
'config' => true, 'config' => false,
'option' => true, 'option' => false,
'delete' => true, 'delete' => false,
'edit' => true, 'edit' => true,
], ],
'redirection' => [ 'redirection' => [
'config' => true, 'config' => false,
], ],
'search' => [ 'search' => [
'config' => true, 'config' => false,
], ],
'user' => [ 'user' => [
'edit' => true, 'edit' => true,
] ]
], ],
'2' => [ '2' => [
'name' => 'Rédacteur avec partage de fichiers', 'name' => 'Rédacteur',
'readonly' => false, 'readonly' => false,
'comment' => 'Edition des pages', 'comment' => 'Tous les droits sur les contenus',
'filemanager' => true, 'filemanager' => true,
'file' => [ 'file' => [
'download' => true, 'download' => true,
@ -566,21 +566,21 @@ class init extends common
'create' => true, 'create' => true,
'rename' => true, 'rename' => true,
'upload' => true, 'upload' => true,
'delete' => false, 'delete' => true,
'preview' => true, 'preview' => true,
'duplicate' => false, 'duplicate' => true,
'extract' => false, 'extract' => true,
'copycut' => false, 'copycut' => true,
'chmod' => false 'chmod' => true
], ],
'folder' => [ 'folder' => [
'create' => true, 'create' => true,
'delete' => true, 'delete' => true,
'rename' => true, 'rename' => true,
'copycut' => false, 'copycut' => true,
'chmod' => false, 'chmod' => true,
'share' => true, 'share' => true,
'path' => './site/file/source/', 'path' => './site/file/source/partage/',
], ],
'page' => [ 'page' => [
'add' => true, 'add' => true,