Skip to content

Commit

Permalink
DAMO-000 | Permissions fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-herczeg committed Jul 5, 2024
1 parent 4726733 commit a7fd915
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 6 deletions.
2 changes: 1 addition & 1 deletion config/install/switch_page_theme.settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ spt_table:
en: 0
-
status: '1'
pages: /admin/assets/all-unpublished
pages: "/admin/assets/all-unpublished\r\n/admin/assets/my-unpublished"
theme_key: ''
theme: damo_theme
weight: '-10'
Expand Down
22 changes: 20 additions & 2 deletions config/install/user.role.agency.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,28 @@
langcode: en
status: true
dependencies: { }
dependencies:
config:
- media.type.guideline
- media.type.icon
- media.type.image
- media.type.logo
- media.type.template
- media.type.video_file
- taxonomy.vocabulary.category
- taxonomy.vocabulary.keyword
module:
- dropzonejs
- media
- media_collection
- media_collection_share
- media_upload
- taxonomy
- taxonomy_access_fix
id: agency
label: Agency
weight: 5
is_admin: null
permissions:
- 'access toolbar'
- 'add media collection (shared) entities'
- 'add media collection entities'
- 'add media collection item entities'
Expand All @@ -16,6 +32,7 @@ permissions:
- 'create logo media'
- 'create media'
- 'create template media'
- 'create terms in keyword'
- 'create video_file media'
- 'delete media'
- 'delete own guideline media'
Expand All @@ -38,6 +55,7 @@ permissions:
- 'edit own video_file media'
- 'edit terms in category'
- 'edit terms in keyword'
- 'select terms in keyword'
- 'update media'
- 'upload media'
- 'view media'
Expand Down
18 changes: 17 additions & 1 deletion config/install/user.role.authenticated.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,20 @@
langcode: en
status: true
dependencies: { }
dependencies:
config:
- filter.format.restricted_html
- taxonomy.vocabulary.keyword
module:
- damopen_assets
- damopen_assets_library
- filter
- media
- media_collection
- media_collection_share
- node
- system
- taxonomy_access_fix
- userprotect
id: authenticated
label: 'Authenticated user'
weight: 1
Expand Down Expand Up @@ -28,3 +42,5 @@ permissions:
- 'view own unpublished content'
- 'view shared media collection entities'
- 'view shared media collection item entities'
- 'view term names in keyword'
- 'view terms in keyword'
7 changes: 5 additions & 2 deletions config/install/user.role.manager.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,12 @@ dependencies:
- taxonomy
- taxonomy_access_fix
- term_merge
- toolbar
id: manager
label: Manager
weight: 6
is_admin: null
permissions:
- 'access media asset usage statistics'
- 'access toolbar'
- 'add media collection (shared) entities'
- 'add media collection entities'
- 'add media collection item entities'
Expand All @@ -37,6 +35,7 @@ permissions:
- 'create logo media'
- 'create media'
- 'create template media'
- 'create terms in keyword'
- 'create video_file media'
- 'delete any guideline media'
- 'delete any icon media'
Expand Down Expand Up @@ -76,6 +75,8 @@ permissions:
- 'edit terms in category'
- 'edit terms in keyword'
- 'merge taxonomy terms'
- 'select terms in category'
- 'select terms in keyword'
- 'share media collections with users'
- 'update any media'
- 'update media'
Expand All @@ -92,5 +93,7 @@ permissions:
- 'view own unpublished media'
- 'view shared media collection entities'
- 'view shared media collection item entities'
- 'view term names in category'
- 'view term revisions in category'
- 'view terms in category'
- 'view terms in keyword'

0 comments on commit a7fd915

Please sign in to comment.