Add platform admin button to enable caseworking

Eventually the ability to have the caseworking view for your service
will be self-service. But while we’re still building it only we should
be able to enable it, for our own testing purposes.

So this commit adds platform admin functionality to switch the feature
on and off for our services.
This commit is contained in:
Chris Hill-Scott
2018-06-12 11:14:36 +01:00
parent 97d40028de
commit 650f4cc3d8
4 changed files with 21 additions and 0 deletions

View File

@@ -229,6 +229,7 @@ class HeaderNavigation(Navigation):
'service_switch_can_send_precompiled_letter',
'service_switch_can_upload_document',
'service_switch_can_send_sms',
'service_switch_caseworking',
'service_switch_email_auth',
'service_switch_live',
'service_switch_research_mode',
@@ -447,6 +448,7 @@ class MainNavigation(Navigation):
'service_switch_can_send_precompiled_letter',
'service_switch_can_upload_document',
'service_switch_can_send_sms',
'service_switch_caseworking',
'service_switch_email_auth',
'service_switch_live',
'service_switch_research_mode',
@@ -653,6 +655,7 @@ class OrgNavigation(Navigation):
'service_switch_can_send_precompiled_letter',
'service_switch_can_upload_document',
'service_switch_can_send_sms',
'service_switch_caseworking',
'service_switch_email_auth',
'service_switch_live',
'service_switch_research_mode',