]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/ikiwiki/pagespec/discussion.mdwn
followup on pagespec negation
[ikiwiki.git] / doc / ikiwiki / pagespec / discussion.mdwn
index 835546a6b67abca898a5f183191ef812c6e0143b..5788d4aed8f5a1e0eaa87c011bf7696811bbae74 100644 (file)
@@ -68,4 +68,18 @@ 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]] 
+
+>> It must be a local problem, then, cause I've tried it with two separate 
+>> machines.  Both are running the most recent release of ikiwiki in 
+>> pkgsrc - 2.66.  Perhaps an update to a newer version would solve the issue.
+