From a2cc2927e6db0b808cb99b7f1026f9dbf5834028 Mon Sep 17 00:00:00 2001 From: Akita Noek Date: Mon, 16 May 2016 10:38:22 -0400 Subject: [PATCH] Turn off activity stream flag in the UI if we have it explicitly disabled in our settings file --- awx/api/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/awx/api/views.py b/awx/api/views.py index 7a16ce650e..18f3fa3c41 100644 --- a/awx/api/views.py +++ b/awx/api/views.py @@ -202,6 +202,7 @@ class ApiV1ConfigView(APIView): license_reader = TaskSerializer() license_data = license_reader.from_database(show_key=request.user.is_superuser) + license_data['features']['activity_streams'] &= tower_settings.ACTIVITY_STREAM_ENABLED pendo_state = tower_settings.PENDO_TRACKING_STATE if tower_settings.PENDO_TRACKING_STATE in ('off', 'anonymous', 'detailed') else 'off'