Re: [xwiki-users] Permission issue - viewing user rights being used for script execution instead of those from who saved the page

2008-06-27 Thread Tiago Rinck Caveden
On Thu, Jun 26, 2008 at 10:59 PM, Sergiu Dumitriu <[EMAIL PROTECTED]> wrote: > Use $doc.saveWithProgrammingRights instead of $doc.save(). Note that this > requires the editor to > save programming rights. If you don't fully trust your editors, don't give > them programming rights, > as they are qu

Re: [xwiki-users] Permission issue - viewing user rights being used for script execution instead of those from who saved the page

2008-06-26 Thread Sergiu Dumitriu
Sergiu Dumitriu wrote: > Tiago Rinck Caveden wrote: >> Hello! >> >> In my wiki, I've saved a page that can be visualized by everybody, >> included >> non logged users. The edition is restricted to logged users, though. >> However, in this page I added a little script that changes some object >> va

Re: [xwiki-users] Permission issue - viewing user rights being used for script execution instead of those from who saved the page

2008-06-26 Thread Sergiu Dumitriu
Tiago Rinck Caveden wrote: > Hello! > > In my wiki, I've saved a page that can be visualized by everybody, included > non logged users. The edition is restricted to logged users, though. > However, in this page I added a little script that changes some object > values when the page is viewed and t

[xwiki-users] Permission issue - viewing user rights being used for script execution instead of those from who saved the page

2008-06-26 Thread Tiago Rinck Caveden
Hello! In my wiki, I've saved a page that can be visualized by everybody, included non logged users. The edition is restricted to logged users, though. However, in this page I added a little script that changes some object values when the page is viewed and then saves it. If somebody not logged tr