diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2007-08-15 17:11:43 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2007-08-15 17:11:43 +0000 |
commit | df57ba677064f7bba09f0689738dcafdb817917c (patch) | |
tree | fa1e0991791d7b1b50a2846a79bf02da343b369f | |
parent | 8d72e73a114c8f64352a5fc753057e465c11b72f (diff) |
web commit by http://jeremie.koenig.myopenid.com/
-rw-r--r-- | doc/todo/ACL.mdwn | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/doc/todo/ACL.mdwn b/doc/todo/ACL.mdwn index dea933d53..fe6c44192 100644 --- a/doc/todo/ACL.mdwn +++ b/doc/todo/ACL.mdwn @@ -20,3 +20,26 @@ 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]] + +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: + + <pre> + \[[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"]] + </pre> + + 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: + + <pre> + \[[acl user=* page=/subsite/* acl=/subsite/acl.mdwn]] + </pre> |