From 649fbc5df402d0f2109a3be475c36d5df29266f3 Mon Sep 17 00:00:00 2001 From: thierrydallacroce Date: Wed, 8 Jan 2020 07:16:37 -0800 Subject: [PATCH] Fix a permission in alt api routing (#286) --- modules/custom/dkan_alt_api/dkan_alt_api.routing.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/custom/dkan_alt_api/dkan_alt_api.routing.yml b/modules/custom/dkan_alt_api/dkan_alt_api.routing.yml index 505aca164..25fcb6aa1 100644 --- a/modules/custom/dkan_alt_api/dkan_alt_api.routing.yml +++ b/modules/custom/dkan_alt_api/dkan_alt_api.routing.yml @@ -4,7 +4,7 @@ dkan_alt_api.1.metastore.schemas.id.items: defaults: { _controller: '\Drupal\dkan_metastore\WebServiceApi::getAll'} requirements: - _permission: 'metastore increased visibility' + _permission: 'get data through the alternate metastore api' options: _auth: ['basic_auth'] @@ -14,7 +14,7 @@ dkan_alt_api.1.metastore.schemas.id.items.id: defaults: { _controller: '\Drupal\dkan_metastore\WebServiceApi::get'} requirements: - _permission: 'metastore increased visibility' + _permission: 'get data through the alternate metastore api' options: _auth: ['basic_auth']