X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/08e9c427a9be88b43866cff1aa1c1ed6381a93f5..aebd98f62e3fd3132dc854ba1389121d7ca61e2c:/doc/todo/ACL.mdwn?ds=sidebyside diff --git a/doc/todo/ACL.mdwn b/doc/todo/ACL.mdwn index dea933d53..1e068cb07 100644 --- a/doc/todo/ACL.mdwn +++ b/doc/todo/ACL.mdwn @@ -20,3 +20,28 @@ something, that I think is very valuable. >>>> Which would rule out openid, or other fun forms of auth. And routing all access >>>> through the CGI sort of defeats the purpose of ikiwiki. --[[Ethan]] + +Also see [[debbug 443346]]. + +I am considering giving this a try, implementing it as a module. +Here is how I see it: + + * a new preprocessor directive allows to define ACL entries providing permissions + for a given (user, page, operation), as in: + +
+    \[[acl user=joe page=*.png allow=upload]]
+    \[[acl user=bob page=/blog/bob/* allow=*]]
+    \[[acl user=* page=/blog/bob/* deny=*]]
+    \[[acl user=http://jeremie.koenig.myopenid.com/ page=/todo/* deny=create
+           reason="spends his time writing todo items instead of source code"]]
+    
+ + Each would expand to a description of the resulting rule. + + * a configurable page of the wiki would be used as an ACL list. + Possibly could refer to other ACL pages, as in: + +
+    \[[acl user=* page=/subsite/* acl=/subsite/acl.mdwn]]
+