summaryrefslogtreecommitdiff
path: root/doc/ikiwiki/pagespec
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-01-22 15:30:14 -0500
committerJoey Hess <joey@gnu.kitenet.net>2009-01-22 15:30:14 -0500
commitede3962a540108aa055004bb3d7d5a673c500c89 (patch)
tree3bb61fdfea43e69a3c59566d220ffb345d1f31f0 /doc/ikiwiki/pagespec
parent89587a07f42626ef74853f95d039cf3857694210 (diff)
response
Diffstat (limited to 'doc/ikiwiki/pagespec')
-rw-r--r--doc/ikiwiki/pagespec/discussion.mdwn11
1 files changed, 10 insertions, 1 deletions
diff --git a/doc/ikiwiki/pagespec/discussion.mdwn b/doc/ikiwiki/pagespec/discussion.mdwn
index 835546a6b..c8bdea3a0 100644
--- a/doc/ikiwiki/pagespec/discussion.mdwn
+++ b/doc/ikiwiki/pagespec/discussion.mdwn
@@ -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]]