mirror of
https://github.com/ansible/awx.git
synced 2026-03-22 19:35:02 -02:30
Turn off activity stream flag in the UI if we have it explicitly disabled in our settings file
This commit is contained in:
@@ -202,6 +202,7 @@ class ApiV1ConfigView(APIView):
|
|||||||
|
|
||||||
license_reader = TaskSerializer()
|
license_reader = TaskSerializer()
|
||||||
license_data = license_reader.from_database(show_key=request.user.is_superuser)
|
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'
|
pendo_state = tower_settings.PENDO_TRACKING_STATE if tower_settings.PENDO_TRACKING_STATE in ('off', 'anonymous', 'detailed') else 'off'
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user