From 0998da52babb135fa53e2a841baf5830485c0e2a Mon Sep 17 00:00:00 2001 From: Kumar Gauraw Date: Wed, 17 Mar 2021 12:38:01 +0530 Subject: [PATCH] Issue #SC-2200 feat: removed auth for question/questionset read api (#2326) --- ansible/roles/kong-api/defaults/main.yml | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/ansible/roles/kong-api/defaults/main.yml b/ansible/roles/kong-api/defaults/main.yml index c696066a52..0b65a100c4 100644 --- a/ansible/roles/kong-api/defaults/main.yml +++ b/ansible/roles/kong-api/defaults/main.yml @@ -5969,16 +5969,12 @@ kong_apis: upstream_url: "{{ assessment_service_url }}/question/v4/read" strip_request_path: true plugins: - - name: jwt - name: cors - "{{ statsd_pulgin }}" - - name: acl - config.whitelist: - - 'contentAccess' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" - config.limit_by: credential + config.limit_by: ip - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}" @@ -6077,16 +6073,12 @@ kong_apis: upstream_url: "{{ assessment_service_url }}/questionset/v4/read" strip_request_path: true plugins: - - name: jwt - name: cors - "{{ statsd_pulgin }}" - - name: acl - config.whitelist: - - 'contentAccess' - name: rate-limiting config.policy: local config.hour: "{{ medium_rate_limit_per_hour }}" - config.limit_by: credential + config.limit_by: ip - name: request-size-limiting config.allowed_payload_size: "{{ medium_request_size_limit }}"