From 4d46b33b5d5097d65b4823854875d7586c78c954 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ph=C3=A9na=20Proxima?= Date: Thu, 1 Oct 2015 19:27:04 -0400 Subject: [PATCH] Changed permissions. --- redirect.permissions.yml | 2 ++ redirect.routing.yml | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) 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: