diff --git a/src/UwRoles/user.role.uw_role_site_manager.yml b/src/UwRoles/user.role.uw_role_site_manager.yml index 3a0a1a8e9d89514995b3a6a9e3de6a3437e6a03e..642e2e019ad569c35f2d79ac8f0bc2619b8cdb08 100644 --- a/src/UwRoles/user.role.uw_role_site_manager.yml +++ b/src/UwRoles/user.role.uw_role_site_manager.yml @@ -178,3 +178,4 @@ permissions: - 'view own unpublished media' - 'view scheduled content' - 'view unpublished paragraphs' + - 'view UW CSV reports' diff --git a/uw_cfg_common.permissions.yml b/uw_cfg_common.permissions.yml index f9097d5af81d1f2b39cf5d82e9ee44f4ff4fe9db..dd2f5116870c2115ebad7e85a56844be2e735767 100644 --- a/uw_cfg_common.permissions.yml +++ b/uw_cfg_common.permissions.yml @@ -21,3 +21,6 @@ 'rearrange profiles': title: 'Rearrange profiles' description: 'Allows access to the rearrange profiles page.' +'view UW CSV reports': + title: 'View UW CSV reports' + description: 'Allows access to UW CSV reports.' diff --git a/uw_cfg_common.routing.yml b/uw_cfg_common.routing.yml index ebab60655947fc3177c6738f777bc8b1086e3238..575d72bbe8caff1c692a1e8c94b14f64d52b0f37 100644 --- a/uw_cfg_common.routing.yml +++ b/uw_cfg_common.routing.yml @@ -40,5 +40,5 @@ uw_cfg_common.uw_content_report_csv: _title: 'Download Customers' _controller: \Drupal\uw_cfg_common\Controller\UwDownloadCsvController::uwContentReport requirements: - _permission: 'access content' + _permission: 'view UW CSV reports'