]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
add example
authorJoey Hess <joey@gnu.kitenet.net>
Fri, 25 Dec 2009 20:12:05 +0000 (15:12 -0500)
committerJoey Hess <joey@gnu.kitenet.net>
Fri, 25 Dec 2009 20:12:05 +0000 (15:12 -0500)
doc/todo/ACL.mdwn

index 4c30624278d8478ccf678f2d44ba2d5a8a0da15c..d40701d60c95d40d3eca8cb5ee19454d2890e5ca 100644 (file)
@@ -70,4 +70,9 @@ Here is how I see it:
     \[[!acl user=* page=/subsite/* acl=/subsite/acl.mdwn]]
     </pre>
 
-Any idea when this is going to be finished?  If you want, I am happy to beta test. 
+Any idea when this is going to be finished?  If you want, I am happy to beta test.
+
+> It's already done, though that is sorta hidden in the above. :-)
+> Example of use to only allow two users to edit the tipjar page:
+>      locked_pages => 'tipjar and !(user(joey) or user(bob))',
+> --[[Joey]]