Skip to content

Commit

Permalink
fix: pathway API permissions
Browse files Browse the repository at this point in the history
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
  • Loading branch information
dyudyunov authored and Faraz32123 committed Jul 23, 2024
1 parent 85b876c commit d56924e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tutordiscovery/templates/discovery/tasks/lms/init
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit d56924e

Please sign in to comment.