summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhttp://www.cse.unsw.edu.au/~willu/ <http://www.cse.unsw.edu.au/~willu/@web>2008-09-11 07:53:07 -0400
committerJoey Hess <joey@kitenet.net>2008-09-11 07:53:07 -0400
commit91bb11721cceed3186cdf2de33d4aeae5114eb10 (patch)
tree1def19990d87d2f3d8183a8ef3164eab91115f0b
parentd02411bac05f78b5a9184d9d0c2ed5f6fdd7b153 (diff)
Thoughts on ACLs
-rw-r--r--doc/todo/ACL.mdwn18
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/todo/ACL.mdwn b/doc/todo/ACL.mdwn
index 6b23acfae..827d4f6fa 100644
--- a/doc/todo/ACL.mdwn
+++ b/doc/todo/ACL.mdwn
@@ -23,6 +23,24 @@ something, that I think is very valuable.
Also see [[!debbug 443346]].
+> Just a few quick thoughts about this:
+>
+>* I'm only thinking about write ACLs. As Joey noted, read ACLs need to be done in the web server.
+>* ACLs are going to be really hard for people with direct access to the revision control system.
+> Which means that we really only need to define ACLs for web access.
+>* ACLs for web access can then be defined by the web master. These might not need to be
+> defined in the wiki pages (although they could be).
+>* Given the previous two points, can't this be done with the `match_user()`
+> function defined by the [[plugins/attachment]] plugin (see the [[ikiwiki/pagespec/attachment]] pagespec info)
+> and the [[plugins/lockedit]] plugin (see [[page_locking]])?
+>
+> For example, add the following to your config file:
+>
+> locked_pages => '!(user(john) and */Discussion) and *',
+>
+> would lock all pages unless you're john and editing a Discussion page.
+> It's a thought anyway :-). -- [[Will]]
+
I am considering giving this a try, implementing it as a module.
Here is how I see it: