[pmwiki-users] Permissions conundrum, section behaviour
Henrik Bechmann
henrik.bechmann at sympatico.ca
Wed Oct 4 23:54:51 CDT 2006
Re: permissions conundrum at
http://www.pmwiki.org/wiki/PmWiki/Comments-UseCases
I wonder if some kind of $Policies[][] structure might solve the problem.
$Policies["comments"]=array("scope"=>"<comma separated group or page
list>","AllowAddPage"=>1);
...with appropriate defaults.
I also wonder if all section blocks should be given delimiters:
[!section comment!]
[!sectionend!]
[!section insert!]
[!sectionend!]
[!section list FirstName!]
[!sectionend!]
[!section list SecondName!]
[!sectionend!]
Sections could optionally be named, or have other parameters. All
sections could optionally (by policy) be edited separately.
This would allow for further manipulation. The section delimiters would
not appear in any output.
Then your (:commentbox:) directive would be more of an insert marker and
behavior directive (eg insert in other page) than a content marker.
For default section edit, PmWiki could adopt the convention of allowing
(at administrator's discretion) section edit between headings.
(:include:) could become dynamic (seems very similar to off-page
comments to me), so that adding an include of a non-existent page
invites clicking through to a new page (with return), and an existing
included page gets an "edit" button at the top right (in the presence of
appropriate rights).
Just brainstorming.
- Henrik
--
Henrik Bechmann
www.osscommons.ca
www.bechmannsoftware.com
Webmaster, www.dufferinpark.ca
More information about the pmwiki-users
mailing list