]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
(no commit message)
authorhttps://www.google.com/accounts/o8/id?id=AItOawmbuZI4n1RsTe3Yeaqb5F-yhtR7a8BWEIE <Kai@web>
Wed, 7 Jul 2010 10:48:36 +0000 (10:48 +0000)
committerJoey Hess <joey@finch.kitenet.net>
Wed, 7 Jul 2010 10:48:36 +0000 (10:48 +0000)
doc/tips/howto_limit_to_admin_users.mdwn [new file with mode: 0644]

diff --git a/doc/tips/howto_limit_to_admin_users.mdwn b/doc/tips/howto_limit_to_admin_users.mdwn
new file mode 100644 (file)
index 0000000..4d57932
--- /dev/null
@@ -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 => '*',