From 6d867b1a7dc7a5781f3611a6db2842f42e0423de Mon Sep 17 00:00:00 2001 From: j Date: Mon, 29 May 2017 12:14:50 +0200 Subject: [PATCH] return 404 not 403 for private edits, fixes #3024 --- pandora/edit/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora/edit/views.py b/pandora/edit/views.py index 66468684f..63fc492b6 100644 --- a/pandora/edit/views.py +++ b/pandora/edit/views.py @@ -236,7 +236,7 @@ def getEdit(request, data): if edit.accessible(request.user): response['data'] = edit.json(keys=data.get('keys'), user=request.user) else: - response = json_response(status=403, text='not allowed') + response = json_response(status=404, text='not found') else: response = json_response(status=404, text='not found') return render_to_json_response(response)