From d56924e4551d70794062b8b97687d6ae190e56aa Mon Sep 17 00:00:00 2001 From: Eugene Dyudyunov Date: Wed, 10 Jul 2024 16:02:25 +0300 Subject: [PATCH] fix: pathway API permissions Grant staff permissions to the catalog_service_user to fix 403 error during the pathways fetching. Note: this issue is also described in the readme. Related discussions: - https://discuss.openedx.org/t/tutor-discovery-service-api-v1-pathways-403/7995 - https://discuss.openedx.org/t/tutor-discovery-program-issue/10283 --- tutordiscovery/templates/discovery/tasks/lms/init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutordiscovery/templates/discovery/tasks/lms/init b/tutordiscovery/templates/discovery/tasks/lms/init index ef5be37..b65d75b 100644 --- a/tutordiscovery/templates/discovery/tasks/lms/init +++ b/tutordiscovery/templates/discovery/tasks/lms/init @@ -7,7 +7,7 @@ get_user_model().objects.filter(username='lms_catalog_service_user').exclude(email='lms_catalog_service_user@openedx').update(email='lms_catalog_service_user@openedx')" ./manage.py lms manage_user discovery discovery@openedx --staff --superuser --unusable-password -./manage.py lms manage_user lms_catalog_service_user lms_catalog_service_user@openedx --unusable-password +./manage.py lms manage_user lms_catalog_service_user lms_catalog_service_user@openedx --staff --unusable-password # Development client ./manage.py lms create_dot_application \