Add platform admin button for edit_folders permission

Added a platform admin button to allow / remove the edit_folders
permission for a service.
This commit is contained in:
Katie Smith
2018-10-25 12:09:26 +01:00
parent af29ee7ff1
commit ae79a3ac75
4 changed files with 20 additions and 0 deletions

View File

@@ -45,6 +45,9 @@ def get_service_settings_page(
({'permissions': []},
'.service_switch_can_upload_document', {}, 'Allow to upload documents'),
({'permissions': ['edit_folders']}, '.service_switch_can_edit_folders', {}, 'Stop editing folders'),
({'permissions': []}, '.service_switch_can_edit_folders', {}, 'Allow to edit folders'),
({'permissions': ['sms']}, '.service_set_inbound_number', {'set_inbound_sms': True}, 'Allow inbound sms'),
({'active': True}, '.archive_service', {}, 'Archive service'),