On Sep 14, 2009, at 10:03 AM, Vincent Massol wrote:
Hi,
Wiki macros currently require programming rights and thus are
limited and in addition cannot be created in subwikis by the
majority of users.
Since I've now almost finished implementing component isolation I'd
like to agree on what we want for wiki macros.
Proposal:
* Modify the wiki macro class to add a "Visibility" field with 2
values:
- visible only in the current wiki
- visible to everyone
* Visible to everyone will require admin rights
* Make the macro available to a user only if that user has view
rights to the wiki macro page. This is to allow making a wiki macro
private (when testing for example). It also allows making a macro
visible only to a given group of users.
Note: I considered having a "visible only to the current user" value
for the Visibility field but I don't think it means much since if
someone else edit the page and saves it, then suddenly the macro
becomes visible only to that person...
WDYT?
Ok after a discussion with Thomas we think it's better to do something
simple for now:
* Modify the wiki macro class to add a "Visibility" field with 3 values:
- "Visible to current author". This is to allow to have some macro
that only you can see as avail macro while you test it for example.
- "Visible in current wiki". Default value.
- "Visible to all wikis". Requires admin rights on the main wiki.
It won't cover all use cases but it should be enough for now and we
can refine it later. The permission stuff is interesting but too
complex for now.
WDYT?
Thanks
-Vincent