summaryrefslogtreecommitdiff
path: root/IkiWiki.pm
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-08-01 17:37:24 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-08-01 17:39:17 -0400
commit25c35b6e90c984540b1f5e6ea9755ce1e3e36d13 (patch)
tree7b2626479fd99c8960f54dbabfaf0cce25134b91 /IkiWiki.pm
parentbc1c26772384e8cb2a39176e5b7894739aa01104 (diff)
banned_users move to setup file, stage 1
Diffstat (limited to 'IkiWiki.pm')
-rw-r--r--IkiWiki.pm7
1 files changed, 7 insertions, 0 deletions
diff --git a/IkiWiki.pm b/IkiWiki.pm
index bfa85343d..d11ceb896 100644
--- a/IkiWiki.pm
+++ b/IkiWiki.pm
@@ -284,6 +284,13 @@ sub getsetup () { #{{{
safe => 0, # regexp
rebuild => 1,
},
+ banned_users => {
+ type => "string",
+ default => [],
+ description => "users who cannot use the wiki",
+ safe => 1,
+ rebuild => 0,
+ },
wiki_file_prune_regexps => {
type => "internal",
default => [qr/(^|\/)\.\.(\/|$)/, qr/^\./, qr/\/\./,