mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-14 23:08:07 -04:00
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:
@@ -323,14 +323,6 @@ def service_switch_email_auth(service_id):
|
||||
return redirect(url_for('.service_settings', service_id=service_id))
|
||||
|
||||
|
||||
@main.route("/services/<service_id>/service-settings/caseworking")
|
||||
@login_required
|
||||
@user_is_platform_admin
|
||||
def service_switch_caseworking(service_id):
|
||||
switch_service_permissions(service_id, 'caseworking')
|
||||
return redirect(url_for('.service_settings', service_id=service_id))
|
||||
|
||||
|
||||
@main.route("/services/<service_id>/service-settings/can-send-precompiled-letter")
|
||||
@login_required
|
||||
@user_is_platform_admin
|
||||
|
||||
Reference in New Issue
Block a user