Add a platform admin button to service-settings page to turn the inbound_sms messaging on and off.

If clicked you will be prompted to enter a sms sender number, when setting the permission on or off.
Team members will always be able to see the number, but will only be able to change it if the inbound_sms permission is off.
This commit is contained in:
Rebecca Law
2017-06-02 16:25:24 +01:00
parent 4a251203df
commit fe24501075
6 changed files with 78 additions and 10 deletions

View File

@@ -94,6 +94,7 @@ class ServiceAPIClient(NotifyAdminAPIClient):
'organisation',
'letter_contact_block',
'dvla_organisation',
'permissions'
}
if disallowed_attributes:
raise TypeError('Not allowed to update service attributes: {}'.format(