From e49cc343a77b261109ab7771f1923ccf8887510a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Wa=C3=9Fill?= Date: Mon, 20 Aug 2018 12:40:22 +0200 Subject: [PATCH] Fix access to riddle admin page by using provided permission (#17) --- riddle_marketplace.routing.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/riddle_marketplace.routing.yml b/riddle_marketplace.routing.yml index 1cedb9e..57cd0e5 100644 --- a/riddle_marketplace.routing.yml +++ b/riddle_marketplace.routing.yml @@ -3,7 +3,7 @@ riddle_marketplace.list: defaults: _controller: '\Drupal\riddle_marketplace\Controller\RiddleController::riddleIframe' requirements: - _permission: 'access content' + _permission: 'generate riddle_marketplace' riddle_marketplace.admin_settings: path: '/admin/config/content/riddle_marketplace'