aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-05-01 14:58:23 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-05-01 14:58:23 -0400
commit6f852e88e30775cb2238f301bb7ca1c4a83d59f4 (patch)
tree7d30c9308e9f3c1c43616e6b6011468030a84fbe /doc
parentf39659277db1865cf75d6a141e4dd6508945a2f5 (diff)
downloadikiwiki-6f852e88e30775cb2238f301bb7ca1c4a83d59f4.tar
ikiwiki-6f852e88e30775cb2238f301bb7ca1c4a83d59f4.tar.gz
anonk: Add anonok_pagespec configuration setting that can be used to allow anonymous users to edit only matching pages. Closes: #478892
Diffstat (limited to 'doc')
-rw-r--r--doc/ikiwiki.setup4
-rw-r--r--doc/plugins/anonok.mdwn6
2 files changed, 9 insertions, 1 deletions
diff --git a/doc/ikiwiki.setup b/doc/ikiwiki.setup
index 885f77813..cbc4cbc9f 100644
--- a/doc/ikiwiki.setup
+++ b/doc/ikiwiki.setup
@@ -159,4 +159,8 @@ use IkiWiki::Setup::Standard {
# mirror1 => "http://hostname1",
# mirror2 => "http://hostname2/mirror",
#},
+
+ # For use with the anonok plugin, a PageSpec specifying what
+ # pages anonymous users can edit
+ #anonok_pagespec => "*",
}
diff --git a/doc/plugins/anonok.mdwn b/doc/plugins/anonok.mdwn
index 8afcf86f5..2afde29b3 100644
--- a/doc/plugins/anonok.mdwn
+++ b/doc/plugins/anonok.mdwn
@@ -2,4 +2,8 @@
[[tag type/auth]]
By default, anonymous users cannot edit the wiki. This plugin allows
-anonymous web users, who have not signed in, to edit any page in the wiki.
+anonymous web users, who have not signed in, to edit any page in the wiki
+by default.
+
+The plugin also has a configuration setting, `anonok_pagespec`. This
+[[PageSpec]] can be used to allow anonymous editing of matching pages.