From 8f577003fe132f0bda9aaab0e68d00318b70b6f5 Mon Sep 17 00:00:00 2001 From: Kyle McCormick Date: Fri, 28 May 2021 10:19:48 -0400 Subject: [PATCH] refactor: uninstall user_tasks app from lms (#27754) The user_tasks app is only needed by a cms feature. However, it has been listed under INSTALLED_APPS for both cms and lms because app-permissions only ran in an lms context until recently. Since app-permissions now creates the user_tasks_admin group in a cms context, the app can be safely removed from lms's INSTALLED_APPS. TNL-8274 --- lms/envs/common.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/lms/envs/common.py b/lms/envs/common.py index 88e5e25336..69902fb76f 100644 --- a/lms/envs/common.py +++ b/lms/envs/common.py @@ -3101,13 +3101,6 @@ INSTALLED_APPS = [ # Bulk User Retirement 'lms.djangoapps.bulk_user_retirement', - # management of user-triggered async tasks (course import/export, etc.) - # This is only used by Studio, but is being added here because the - # app-permissions script that assigns users to Django admin roles only runs - # in the LMS process at the moment, so anything that has Django admin access - # permissions needs to be listed as an LMS app or the script will fail. - 'user_tasks', - # Agreements 'openedx.core.djangoapps.agreements' ]