[PHP-WEBMASTER] [web-wiki] master: Require a login for doing the resource-intensive search action, to ward off bot scrapers

Author: Derick Rethans (derickr)
Date: 2026-09-09T16:35:11+01:00

Commit: Require a login for doing the resource-intensive search action, to wa… · php/web-wiki@ded305d · GitHub
Raw diff: https://github.com/php/web-wiki/commit/ded305db66e37910d9e13bd14c93b21654c10edb.diff

Require a login for doing the resource-intensive search action, to ward off bot scrapers

Changed paths:
  M dokuwiki/inc/Action/Search.php

Diff:

diff --git a/dokuwiki/inc/Action/Search.php b/dokuwiki/inc/Action/Search.php
index ad79d961..04cbe575 100644
--- a/dokuwiki/inc/Action/Search.php
+++ b/dokuwiki/inc/Action/Search.php
@@ -23,7 +23,7 @@ class Search extends AbstractAction
     /** @inheritdoc */
     public function minimumPermission()
     {
- return AUTH_NONE;
+ return AUTH_EDIT;
     }

     /**