<div dir="ltr">Hello,<div><br></div><div>Sad day! After a decade of using PmWiki, I've mostly migrated my workflow to Markdown and Git. I wanted to keep my PmWiki repo history, so I created a cookbook recipe to help me do that:</div><div><br></div><div><a href="http://www.pmwiki.org/wiki/Cookbook/PmWikiExport">http://www.pmwiki.org/wiki/Cookbook/PmWikiExport</a><br></div><div><br></div><div>The recipe itself does two things: 1) Returns the list of pages as a JSON object by reading the panelist file and 2) returns an individual page's commit history as a JSON object. A client-side Node script uses these two calls to capture the history, store it in a SQLite database, and then "replay" the history in a new Git repository.</div><div><br></div><div>There are probably much better ways to do this, but it works for my repo (about 1,000 pages and 10k commits).</div><div><br></div><div>The reason I am writing is because <b>I could not get $HandleAuth to work with my recipe</b>. Since the recipe uses ReadPage and RestorePage directly, it does not respect security settings.</div><div><br></div><div>Is <font face="monospace, monospace">$HandleAuth['export'] = 'admin'</font> not the appropriate way to set a safe default for my recipe? Am I missing something? </div><div><br></div><div>Thanks!</div><div><br></div><div>Ryan</div><div><br></div></div>