]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
Merge branch 'master' of ssh://git.ikiwiki.info
authorJoey Hess <joeyh@joeyh.name>
Wed, 2 Mar 2016 20:35:45 +0000 (16:35 -0400)
committerJoey Hess <joeyh@joeyh.name>
Wed, 2 Mar 2016 20:35:45 +0000 (16:35 -0400)
doc/forum/lockedit_help.mdwn [new file with mode: 0644]
doc/sandbox.mdwn

diff --git a/doc/forum/lockedit_help.mdwn b/doc/forum/lockedit_help.mdwn
new file mode 100644 (file)
index 0000000..60decf0
--- /dev/null
@@ -0,0 +1,22 @@
+I'm having some trouble getting the lockedit plugin to work as I'd expect.
+
+We have a small in-house wiki that should be public-viewable, but only editable by a few users.
+I've added these users to the `adminuser` keyword in my `.setup` file:
+
+    adminuser:
+      - user1
+      - user2
+      - user3
+
+`lockedit` is enabled:
+
+    add_plugins:
+      - lockedit
+
+And the `locked_pages` is set to '*':
+
+    locked_pages: '*'
+
+However, I can still edit all pages using any user.  To test I simply created a new user
+by attempting to edit a page while not logged in.  After creating the user I could edit the
+page.
index d3b348636e194d23ed477753032d232ed2f4e554..a2e56b34d1b249518ad7c729b12342d3b5fd9130 100644 (file)
@@ -7,6 +7,8 @@ This is the [[SandBox]], a page anyone can edit to try out ikiwiki
 vvvv
 CamelCase ?
 
+[[!tag sandbox]]
+
 What about [[this page]], nono better [[that page]]?
 
 hello world (right back at ya)