]> sipb.mit.edu Git - ikiwiki.git/commitdiff
question on locked_pages and users() in pagespec
authorjustin <justin@web>
Thu, 22 Jan 2009 04:37:55 +0000 (23:37 -0500)
committerJoey Hess <joey@kitenet.net>
Thu, 22 Jan 2009 04:37:55 +0000 (23:37 -0500)
doc/ikiwiki/pagespec/discussion.mdwn

index 0733c90c8efd7cc8a47b55d91f3cdd10fbcc1432..835546a6b67abca898a5f183191ef812c6e0143b 100644 (file)
@@ -65,3 +65,7 @@ How can I fix this?  --[[sabr]]
 
 > I don't see why that wouldn't work. Can I download the source to your
 > wiki from somewhere to investigate? --[[Joey]]
+
+----
+
+Should negation work with user(), with locked_pages in setup?  I experimented with setting locked_pages => 'user(someuser)' and was able to edit as a different user.  However, setting locked_pages => '!user(someuser)' doesn't seem to allow edits for only 'someuser' - it locks out all users.