2009-07-06
rolandalder
When ACLs are enabled and index.php is used to update the index, all pages that are protected are ignored.
Adding the 'skipacl' with true to the options for search_allpages solves this.
Kind regards,
Roland
--- dokuwiki-2009-02-14.orig/bin/indexer.php 2009-02-14 13:13:24.000000000 +0100
+++ dokuwiki-2009-02-14/bin/indexer.php 2009-07-06 10:52:48.000000000 +0200
@@ -79,7 +79,7 @@
$data = array();
_quietecho("Searching pages... ");
- search($data,$conf['datadir'],'search_allpages',array());
+ search($data,$conf['datadir'],'search_allpages',array('skipacl' => true));
_quietecho(count($data)." pages found.\n");
foreach($data as $val){