General Actions:
| Question | How to disable comments and attachments. |
| Answer |
Below is text from mail list archive:
http://www.nabble.com/Disable-and-hide-comments-tt13584727.html#a13585583
Marie Sauvage [EBM WebSourcing] wrote: > Hi all ! > > I'm trying to disable comments from all users (guests and logged > users) and then to hide the useless comments zone at bottom of pages. > I've seen there is some options in the wiki.cfg file but I'm not the > server admin. Is there a way to do that without having to modify the > config file and reboot xwiki ? I don't find anything in the > administration space. > I've thought to change the layout and remove this zone but I don't > find it's a "clean" way to do, and maybe later we'll want to > reactivate comments… > > thanks for your help, > Marie. « Hi Marie, You need to change the XWiki.XWikiPreferences class like this: Some extra-information: currently (as per XE/XEM 2.4.2 releases) there is no way of avoiding than an user that has access to a given document, accesses its attachments and comments provided he/she knows the right URL syntax.
This feature is present by default in the administration starting with 3.0.
|