mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-25 10:29:14 -04:00
Rename URL to remove term ‘whitelist’
See c31264d4c for rationale. To avoid confusion the codebase should use
the same terminology as the UI.
This commit is contained in:
@@ -52,7 +52,8 @@ def api_documentation(service_id):
|
||||
return redirect(url_for('.documentation'), code=301)
|
||||
|
||||
|
||||
@main.route("/services/<uuid:service_id>/api/whitelist", methods=['GET', 'POST'])
|
||||
@main.route("/services/<uuid:service_id>/api/whitelist", methods=['GET', 'POST'], endpoint='old_guest_list')
|
||||
@main.route("/services/<uuid:service_id>/api/guest-list", methods=['GET', 'POST'])
|
||||
@user_has_permissions('manage_api_keys')
|
||||
def guest_list(service_id):
|
||||
form = GuestList()
|
||||
|
||||
Reference in New Issue
Block a user