mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-18 13:39:41 -04:00
Add upload letters permission to service settings page
The upload_letters permission can only be changed by Platform Admin users. It works in a similar way to the inbound_sms nested permission - you only see the row in the table if you have the 'letter' permission, but the 'letter' and 'upload_letters' are still separate permissions and changing one does not affect the other.
This commit is contained in:
@@ -68,6 +68,7 @@ PLATFORM_ADMIN_SERVICE_PERMISSIONS = OrderedDict([
|
||||
('inbound_sms', {'title': 'Receive inbound SMS', 'requires': 'sms', 'endpoint': '.service_set_inbound_number'}),
|
||||
('email_auth', {'title': 'User auth type editing'}),
|
||||
('upload_document', {'title': 'Uploading documents', 'endpoint': '.service_switch_can_upload_document'}),
|
||||
('upload_letters', {'title': 'Uploading letters', 'requires': 'letter'}),
|
||||
])
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user