X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/f77e2078726124efc9ab87b28c20b1d004012fcd..9b474c2d488839ceec3637c3089eede45a715948:/doc/todo/ACL.mdwn?ds=inline diff --git a/doc/todo/ACL.mdwn b/doc/todo/ACL.mdwn index 827d4f6fa..e9fb2717f 100644 --- a/doc/todo/ACL.mdwn +++ b/doc/todo/ACL.mdwn @@ -32,7 +32,7 @@ Also see [[!debbug 443346]]. > 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]])? +> and the [[plugins/lockedit]] plugin? > > For example, add the following to your config file: > @@ -41,6 +41,12 @@ Also see [[!debbug 443346]]. > would lock all pages unless you're john and editing a Discussion page. > It's a thought anyway :-). -- [[Will]] +>> Yes, writing per-user commit ACLs has become somewhat easier with recent +>> features. Breaking `match_user` out of attachment, and making the +>> lockedit plugin pass`user` and `ip` params when it calls `pagespec_match` +>> would be sufficient. And [[done]], configurable via +>> [[plugin/lockedit]]'s `locked_pages`. --[[Joey]] + I am considering giving this a try, implementing it as a module. Here is how I see it: