1 How about adding ACL? So that you can control which users are allowed
2 to read, write certain pages. The moinmoin wiki has that, and it is
3 something, that I think is very valuable.
5 > ikiwiki currently has only the most rudimentary access controls: pages
6 > can be locked, or unlocked and only the admin can edit locked pages. That
7 > could certianly be expanded on, although it's not an area that I have an
8 > overwhelming desire to work on myself right now. Patches appreciated and
9 > I'll be happy to point you in the right directions.. --[[Joey]]
11 >> I'm really curious how you'd suggest implementing ACLs on reading a page.
12 >> It seems to me the only way you could do it is .htaccess DenyAll or something,
13 >> and then route all page views through ikiwiki.cgi. Am I missing something?
16 >>> Or you could just use apache or whatever and set up the access controls
17 >>> there. Of course, that wouldn't integrate very well with the wiki,
18 >>> unless perhaps you decided to use http basic authentication and the
19 >>> httpauth plugin for ikiwiki that integrates with that.. --[[Joey]]
21 >>>> Which would rule out openid, or other fun forms of auth. And routing all access
22 >>>> through the CGI sort of defeats the purpose of ikiwiki. --[[Ethan]]
24 I am considering giving this a try, implementing it as a module.
27 * a new preprocessor directive allows to define ACL entries providing permissions
28 for a given (user, page, operation), as in:
31 \[[acl user=joe page=*.png allow=upload]]
32 \[[acl user=bob page=/blog/bob/* allow=*]]
33 \[[acl user=* page=/blog/bob/* deny=*]]
34 \[[acl user=http://jeremie.koenig.myopenid.com/ page=/todo/* deny=create
35 reason="spends his time writing todo items instead of source code"]]
38 Each would expand to a description of the resulting rule.
40 * a configurable page of the wiki would be used as an ACL list.
41 Possibly could refer to other ACL pages, as in:
44 \[[acl user=* page=/subsite/* acl=/subsite/acl.mdwn]]