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
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
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
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
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
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:
&
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
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
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
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
10 matches
Mail list logo