aboutsummaryrefslogtreecommitdiff
path: root/doc/tips
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2010-07-07 13:58:19 -0400
committerJoey Hess <joey@kitenet.net>2010-07-07 13:58:19 -0400
commit8ce11b51f85a08e6dd426b3855b06e5e3ce09f55 (patch)
treed7de4772afc74010158f3974a7b881907d222039 /doc/tips
parentb1f7aac8ec81490415d487b7db09d03675a7890b (diff)
parentc34e4823268183eac476072a8aa87a2756529a29 (diff)
downloadikiwiki-8ce11b51f85a08e6dd426b3855b06e5e3ce09f55.tar
ikiwiki-8ce11b51f85a08e6dd426b3855b06e5e3ce09f55.tar.gz
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Diffstat (limited to 'doc/tips')
-rw-r--r--doc/tips/howto_limit_to_admin_users.mdwn9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/tips/howto_limit_to_admin_users.mdwn b/doc/tips/howto_limit_to_admin_users.mdwn
new file mode 100644
index 000000000..4d579327a
--- /dev/null
+++ b/doc/tips/howto_limit_to_admin_users.mdwn
@@ -0,0 +1,9 @@
+Enable [[plugins/lockedit]] in your setup file.
+
+For example:
+
+ add_plugins => [qw{goodstuff table rawhtml template embed typography sidebar img remove lockedit}],
+
+And to only allow admin users to edit the page, simply specify a pagespec for everything in the .setup:
+
+ locked_pages => '*',