Remove platform admin toggle for basic view

Since platform admins can use the new settings page, this commit:
- links to that page
- removes the platform-admin-only endpoint that switches basic view on
  and off
This commit is contained in:
Chris Hill-Scott
2018-07-10 10:09:17 +01:00
parent 4d3a4ef9af
commit 2f40ddae20
4 changed files with 3 additions and 19 deletions

View File

@@ -44,11 +44,6 @@ def get_service_settings_page(
({'permissions': []},
'.service_switch_can_upload_document', {}, 'Allow to upload documents'),
({'permissions': []},
'.service_switch_caseworking', {}, 'Allow basic view'),
({'permissions': ['caseworking']},
'.service_switch_caseworking', {}, 'Stop basic view'),
({'permissions': ['sms']}, '.service_set_inbound_number', {'set_inbound_sms': True}, 'Allow inbound sms'),
({'active': True}, '.archive_service', {}, 'Archive service'),