diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2008-12-17 14:15:52 -0500 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2008-12-17 14:15:52 -0500 |
commit | fdd994fb7365308bde162b72b280512f2db6a339 (patch) | |
tree | 4c7db95b9cae5651532c270b3b7ddd4385dce319 /doc/plugins/comments | |
parent | 613a54a3cb48ff0bd00c02d44304ce08b6725343 (diff) |
more comments doc updates
Moved todo items to a todo page, mark the old todo item about comments as
done, etc.
Diffstat (limited to 'doc/plugins/comments')
-rw-r--r-- | doc/plugins/comments/discussion.mdwn | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/plugins/comments/discussion.mdwn b/doc/plugins/comments/discussion.mdwn index 59740ec37..2a87a3d93 100644 --- a/doc/plugins/comments/discussion.mdwn +++ b/doc/plugins/comments/discussion.mdwn @@ -63,6 +63,9 @@ spam problems. So, use `check_canedit` as at least a first-level check? > This is why `anonok_pages => 'postcomment(*)'` and `locked_pages => '!postcomment(*)'` > are necessary to allow anonymous and logged-in editing (respectively). > +>> I changed that to move the flag out of the page name, and into a variable that the `match_postcomment` +>> function checks for. Other ugliness still applies. :-) --[[Joey]] +> > This is ugly - one alternative would be to add `check_permission()` that takes a > page and a verb (create, edit, rename, remove and maybe comment are the ones I > can think of so far), use that, and port the plugins you mentioned to use that |