Skip to content

Commit

Permalink
Adds download media permissions (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
thejimbirch authored Jul 1, 2024
1 parent cfe0841 commit 1f93257
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions recipe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@ config:
media_file_delete.settings:
simple_config_update:
delete_file_default: true
# Allow all users to download media.
user.role.anonymous:
grantPermission: 'download media'
user.role.authenticated:
grantPermission: 'download media'
# @TODO Hide core's Files view that Local Video recipe imports.
views.view.files:
ensure_exists:
Expand Down

0 comments on commit 1f93257

Please sign in to comment.