[xwiki-users] viewer=code

2009-08-26 Thread Ajdin Brandic
Is there an option (settings) to disable this (viewer=code) on a site? Ajdin NOTICE This message and any files transmitted with it is intended for the addressee only and may contain information that is confidential or privileged. Una

Re: [xwiki-users] viewer=code

2009-08-26 Thread Marius Dumitru Florea
Hi Ajdin, Ajdin Brandic wrote: > Is there an option (settings) to disable this (viewer=code) on a site? I don't know if there is a way to disable the viewer=code from the UI but I know you can prevent it by editing templates/view.vm around this line: #template("${viewer}.vm") or by renaming te

Re: [xwiki-users] viewer=code

2009-08-26 Thread Ajdin Brandic
i.org [mailto:users-boun...@xwiki.org] On Behalf Of Marius Dumitru Florea Sent: 26 August 2009 16:07 To: XWiki Users Subject: Re: [xwiki-users] viewer=code Hi Ajdin, Ajdin Brandic wrote: > Is there an option (settings) to disable this (viewer=code) on a site? I don't know if there is a w

Re: [xwiki-users] viewer=code

2009-08-26 Thread Marius Dumitru Florea
o view-code right so any user with view access is able to see the code of the page. Marius > > Ajdin > > -Original Message- > From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf > Of Marius Dumitru Florea > Sent: 26 August 2009 16:07 > To

Re: [xwiki-users] viewer=code

2009-08-26 Thread Ajdin Brandic
Will it show Groovy as well as Velocity code? Ajdin -Original Message- From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of Marius Dumitru Florea Sent: 26 August 2009 17:18 To: XWiki Users Subject: Re: [xwiki-users] viewer=code Ajdin Brandic wrote: > Lets say

Re: [xwiki-users] viewer=code

2009-08-26 Thread Thomas Mortagne
ity code? > > Ajdin > > -Original Message- > From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf > Of Marius Dumitru Florea > Sent: 26 August 2009 17:18 > To: XWiki Users > Subject: Re: [xwiki-users] viewer=code > > Ajdin Brandic wrote: &

Re: [xwiki-users] viewer=code

2009-08-26 Thread Caleb James DeLisle
Brandic wrote: > >> Will it show Groovy as well as Velocity code? >> >> Ajdin >> >> -Original Message- >> From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf >> Of Marius Dumitru Florea >> Sent: 26 August 200

Re: [xwiki-users] viewer=code

2009-08-26 Thread Sergiu Dumitriu
Ajdin Brandic wrote: > Is there an option (settings) to disable this (viewer=code) on a site? First thing to keep in mind is that any user that can *edit* documents on your wiki will always be able to retrieve the source code of documents. Now, if you want to disable the display of code to users

Re: [xwiki-users] viewer=code

2009-08-27 Thread Ajdin Brandic
the whole world. Ajdin -Original Message- From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of Sergiu Dumitriu Sent: 26 August 2009 22:24 To: XWiki Users Subject: Re: [xwiki-users] viewer=code Ajdin Brandic wrote: > Is there an option (settings) to disable this

Re: [xwiki-users] viewer=code

2009-08-27 Thread Sergiu Dumitriu
rname/password to the whole world. > > Ajdin > > > > -Original Message- > From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf > Of Sergiu Dumitriu > Sent: 26 August 2009 22:24 > To: XWiki Users > Subject: Re: [xwiki-users] viewer=code > > Ajdin Bra