]> sipb.mit.edu Git - ikiwiki.git/commitdiff
response
authorJoey Hess <joey@gnu.kitenet.net>
Thu, 22 Jan 2009 20:30:14 +0000 (15:30 -0500)
committerJoey Hess <joey@gnu.kitenet.net>
Thu, 22 Jan 2009 20:30:14 +0000 (15:30 -0500)
doc/ikiwiki/pagespec/discussion.mdwn

index 835546a6b67abca898a5f183191ef812c6e0143b..c8bdea3a0b50fb5462bc01164b054980b5095495 100644 (file)
@@ -68,4 +68,13 @@ How can I fix this?  --[[sabr]]
 
 ----
 
 
 ----
 
-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.
+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.
+
+> Negation works with anything in any PageSpec. I tested the case you
+> describe, and a negated pagespec worked for me; all users except the
+> listed user (and except wiki admins of course) were locked out.
+> --[[Joey]]