From af290ce6a9f24e30e97d5b6779c4b246d307b007 Mon Sep 17 00:00:00 2001 From: Kshitij Sobti Date: Mon, 2 Aug 2021 20:14:03 +0530 Subject: [PATCH] feat: Adds a new flag for discussions LTI configuration for admin only config Some providers need special considerations when being set up so should only be configured by people with global staff privileges. This adds an admin_only_config flag to such providers (only YellowDig for now). --- openedx/core/djangoapps/discussions/models.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openedx/core/djangoapps/discussions/models.py b/openedx/core/djangoapps/discussions/models.py index 327508f3d1..9164e478e8 100644 --- a/openedx/core/djangoapps/discussions/models.py +++ b/openedx/core/djangoapps/discussions/models.py @@ -162,7 +162,8 @@ AVAILABLE_PROVIDER_MAP = { contact_email='learnmore@yellowdig.com', )._asdict(), 'messages': [pii_sharing_required_message('Yellowdig')], - 'has_full_support': False + 'has_full_support': False, + 'admin_only_config': True, }, 'inscribe': { 'features': [