Unverified Commit cfbd3dca authored by scienceasdf's avatar scienceasdf Committed by GitHub

Fix: in group edit rules, write scripts permission and write styles permission…

Fix: in group edit rules, write scripts permission and write styles permission can be configured. (#2829) At present, the user that are not in the administrator group have no access to edit scripts and styles in page editor panel. This commit add configuration in group rule manage webpage so that users' permission on writing styles and writing scripts can be modified.
parent 4b80bab8
......@@ -222,6 +222,8 @@ export default {
{ text: 'Read / Use Assets', value: 'read:assets', icon: 'mdi-image-search-outline' },
{ text: 'Upload Assets', value: 'write:assets', icon: 'mdi-image-plus' },
{ text: 'Edit + Delete Assets', value: 'manage:assets', icon: 'mdi-image-size-select-large' },
{ text: 'Edit Scripts', value: 'write:scripts', icon: 'mdi-language-javascript' },
{ text: 'Edit Styles', value: 'write:styles', icon: 'mdi-language-css3' },
{ text: 'Read Comments', value: 'read:comments', icon: 'mdi-comment-search-outline' },
{ text: 'Create Comments', value: 'write:comments', icon: 'mdi-comment-plus-outline' },
{ text: 'Edit + Delete Comments', value: 'manage:comments', icon: 'mdi-comment-remove-outline' }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment