This is an automated email from the ASF dual-hosted git repository. nickva pushed a commit to branch 3.5.x-a-few-more-fixes in repository https://gitbox.apache.org/repos/asf/couchdb.git
commit efdeafa4e914427a9a10f7f2bfbf89c1cb3502b8 Author: Nick Vatamaniuc <[email protected]> AuthorDate: Sat Oct 3 01:56:51 2026 -0400 Fix _search_cleanup and _nouveau_cleanup handlers Make them match _view_cleanup. Co-Authored-By: Jan Lehnardt <[email protected]> (cherry picked from commit 6917dd8d266ffeb9998649b3ed801506adee0c54) --- src/chttpd/src/chttpd_auth_request.erl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/chttpd/src/chttpd_auth_request.erl b/src/chttpd/src/chttpd_auth_request.erl index b30612037..b62958721 100644 --- a/src/chttpd/src/chttpd_auth_request.erl +++ b/src/chttpd/src/chttpd_auth_request.erl @@ -69,6 +69,10 @@ authorize_request_int(#httpd{path_parts = [_DbName, <<"_compact">> | _]} = Req) require_db_admin(Req); authorize_request_int(#httpd{path_parts = [_DbName, <<"_view_cleanup">>]} = Req) -> require_db_admin(Req); +authorize_request_int(#httpd{path_parts = [_DbName, <<"_search_cleanup">>]} = Req) -> + require_db_admin(Req); +authorize_request_int(#httpd{path_parts = [_DbName, <<"_nouveau_cleanup">>]} = Req) -> + require_db_admin(Req); authorize_request_int(#httpd{path_parts = [_DbName, <<"_sync_shards">>]} = Req) -> require_admin(Req); authorize_request_int(#httpd{path_parts = [_DbName, <<"_purge">>]} = Req) ->
