diff options
author | Joey Hess <joey@kitenet.net> | 2010-07-07 13:58:19 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2010-07-07 13:58:19 -0400 |
commit | 8ce11b51f85a08e6dd426b3855b06e5e3ce09f55 (patch) | |
tree | d7de4772afc74010158f3974a7b881907d222039 /doc/tips | |
parent | b1f7aac8ec81490415d487b7db09d03675a7890b (diff) | |
parent | c34e4823268183eac476072a8aa87a2756529a29 (diff) |
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.mdwn | 9 |
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 => '*', |