From: Joey Hess <joey@gnu.kitenet.net>
Date: Sat, 6 Feb 2010 20:53:54 +0000 (-0500)
Subject: auto-blog.setup: Lock all pages, so only admin can post to the blog by default.
X-Git-Tag: 3.20100212~58
X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/eda1d1321b7510d717c236b668e430bf1f656bed?ds=inline

auto-blog.setup: Lock all pages, so only admin can post to the blog by default.
---

diff --git a/auto-blog.setup b/auto-blog.setup
index 82aa8d415..e3059e32e 100644
--- a/auto-blog.setup
+++ b/auto-blog.setup
@@ -47,4 +47,5 @@ IkiWiki::Setup::Automator->import(
 	comments_pagespec => "posts/* and !*/Discussion",
 	blogspam_pagespec => "postcomment(*)",
 	discussion => 0,
+	locked_pages => "*",
 )
diff --git a/debian/changelog b/debian/changelog
index e07bada28..b4acac633 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,8 @@ ikiwiki (3.20100123) UNRELEASED; urgency=low
     ikiwiki.cgi?do=register
   * Improve display of openid in preferences page.
   * Add link to userpage (or creation link) to top of preferences page.
+  * auto-blog.setup: Lock all pages, so only admin can post to the blog
+    by default.
 
  -- Joey Hess <joeyh@debian.org>  Tue, 26 Jan 2010 22:25:33 -0500