From a4784beced09bd312a23a6a5affe7250f19ce297 Mon Sep 17 00:00:00 2001 From: Dave MacFarlane Date: Tue, 21 Feb 2023 14:12:17 -0500 Subject: [PATCH] Forbidden not NotFound --- modules/conflict_resolver/php/endpoints/unresolved.class.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/conflict_resolver/php/endpoints/unresolved.class.inc b/modules/conflict_resolver/php/endpoints/unresolved.class.inc index 17713e4db58..818cf147c98 100644 --- a/modules/conflict_resolver/php/endpoints/unresolved.class.inc +++ b/modules/conflict_resolver/php/endpoints/unresolved.class.inc @@ -253,7 +253,7 @@ class Unresolved extends Endpoint implements ETagCalculator true ); if ($instrument->_hasAccess($user) == false) { - return new \LORIS\Http\Response\JSON\NotFound( + return new \LORIS\Http\Response\JSON\Forbidden( 'Permission denied for ' . $conflict['TableName'] ); }