Or you could add some code in the vm topmenu template to hide those actions
from non-admin users.
Guillaume
On Fri, Feb 20, 2009 at 9:46 AM, Vincent Massol <vincent(a)massol.net> wrote:
Hi,
On Feb 20, 2009, at 1:36 AM, Henning Sprang wrote:
Hi,
We decided to write an online book by using xWiki as the authoring
system.
While we want to make it freely available, we'd like to restrict pdf
and other printable output apart from plain html.
(we might want to sell pdf outputs later, with watermarks, but that
would be a different story - and we will probably go via Latex then).
But current permissions seem only to make a distinction between
view(including html, pdf, rtf, xml, ...) and edit.
How would we go to add such a "print" right, and even differentiate
pdf and .xar and other there?
One easy solution I can think of would be to prevent access to them by
configuring your web server to deny some actions (*/export/.....).
Apart from this you would have to modify some java code (the Action
classes code).
Thanks
-Vincent
http://xwiki.com
http://xwiki.org
http://massol.net
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users