summaryrefslogtreecommitdiff
path: root/doc/tips
diff options
context:
space:
mode:
authorhttps://www.google.com/accounts/o8/id?id=AItOawmbuZI4n1RsTe3Yeaqb5F-yhtR7a8BWEIE <Kai@web>2010-07-07 10:48:36 +0000
committerJoey Hess <joey@finch.kitenet.net>2010-07-07 10:48:36 +0000
commitc34e4823268183eac476072a8aa87a2756529a29 (patch)
tree3324e39a4b8a5f809894e30a8d0bf35bdf94f964 /doc/tips
parent87890d19cca9c051f4e0de1acf0a5c337e93a92e (diff)
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 => '*',