diff --git a/redirect.permissions.yml b/redirect.permissions.yml index d5cf137..7dc1ad5 100644 --- a/redirect.permissions.yml +++ b/redirect.permissions.yml @@ -1,2 +1,4 @@ administer redirects: title: 'Administer URL redirections' +change redirect settings: + title: 'Change redirect settings' diff --git a/redirect.routing.yml b/redirect.routing.yml index 36b433d..1a15c67 100644 --- a/redirect.routing.yml +++ b/redirect.routing.yml @@ -44,7 +44,7 @@ redirect.settings: _form: '\Drupal\redirect\Form\RedirectSettingsForm' _title: 'Settings' requirements: - _permission: 'administer redirects' + _permission: 'change redirect settings' redirect.fix_404: path: '/admin/config/search/redirect/404' @@ -52,7 +52,7 @@ redirect.fix_404: _title: 'Fix 404 pages' _form: '\Drupal\redirect\Form\RedirectFix404Form' requirements: - _permission: 'administer redirects' + _permission: 'change redirect settings' #redirect.devel_generate: # requirements: