mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-15 15:28:50 -04:00
Add edit_folder_permissions permission
Admin part of alphagov/notifications-api#2356 Adds Folder permissions switch to the platform admin part of service settings page.
This commit is contained in:
@@ -61,12 +61,12 @@ from app.utils import (
|
||||
user_is_platform_admin,
|
||||
)
|
||||
|
||||
|
||||
PLATFORM_ADMIN_SERVICE_PERMISSIONS = OrderedDict([
|
||||
('inbound_sms', {'title': 'Receive inbound SMS', 'requires': 'sms', 'endpoint': '.service_set_inbound_number'}),
|
||||
('precompiled_letter', {'title': 'Send precompiled letters', 'requires': 'letter'}),
|
||||
('email_auth', {'title': 'User auth type editing'}),
|
||||
('upload_document', {'title': 'Uploading documents', 'endpoint': '.service_switch_can_upload_document'}),
|
||||
('edit_folder_permissions', {'title': 'Folder permissions'}),
|
||||
])
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user