Re: [xwiki-users] Permission Rights and Parent pages
Hi Sergiu, Thank you for the answer. I thought i could set them automatically... Anyway, regarding the opportunity to use some velocity scripts to do it, I've found that if i open a page with WYSIWYG editor i lost all velocity scripts in it. Is there a way to solve this issue (avoiding to use only the wiki editor? Thanks Mattia ----- Messaggio originale ----- Da: Sergiu Dumitriu <[email protected]> A: XWiki Users <[email protected]> Inviato: Mercoledì 19 dicembre 2007, 9:20:09 Oggetto: Re: [xwiki-users] Permission Rights and Parent pages [email protected] wrote:
Hi everybody,
I'm trying to set some rights on some pages, and i'd like to have those permissions setted automatically on some other pages. I've setted on one and i've set for the other the first one as the parent. This isn't working :(
How can i solve it??
Thank you!!!!!
Rights aren't inherited from the parent. You can either use space rights, template rights, or use some velocity scripts to set the rights. Sergiu _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users ___________________________________ L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: http://it.docs.yahoo.com/nowyoucan.html
[email protected] wrote:
Hi Sergiu,
Thank you for the answer. I thought i could set them automatically... Anyway, regarding the opportunity to use some velocity scripts to do it, I've found that if i open a page with WYSIWYG editor i lost all velocity scripts in it. Is there a way to solve this issue (avoiding to use only the wiki editor? You can write a macro that contains the velocity script and then include the macro in the wiki-page. That will work for sure, I had a kind of similar problem and I solved it like that. Hope it helps!
Vito
Thanks
Mattia
----- Messaggio originale ----- Da: Sergiu Dumitriu <[email protected]> A: XWiki Users <[email protected]> Inviato: Mercoledì 19 dicembre 2007, 9:20:09 Oggetto: Re: [xwiki-users] Permission Rights and Parent pages
[email protected] <mailto:[email protected]> wrote:
Hi everybody,
I'm trying to set some rights on some pages, and i'd like to have those permissions setted automatically on some other pages. I've setted on one and i've set for the other the first one as the parent. This isn't working :(
How can i solve it??
Thank you!!!!!
Rights aren't inherited from the parent.
You can either use space rights, template rights, or use some velocity scripts to set the rights.
Sergiu _______________________________________________ users mailing list [email protected] <mailto:users@xwikiorg> http://lists.xwiki.org/mailman/listinfo/users
------------------------------------------------------------------------ ------------------------------------------------------------------------ L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail <http://us.rd.yahoo.com/mail/it/taglines/hotmail/nowyoucan/nextgen/*http://it.docs.yahoo.com/nowyoucan.html>
------------------------------------------------------------------------
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Vitantonio Messa +358 46 889 48 49 - [email protected] COSS - The Finnish Centre for Open Source Solutions @ Technology Centre Hermia Ltd. Hermiankatu 1, FIN-33720 Tampere, FINLAND
The other way to do it is to write your velocity code on a page, ...view/MySpace/MyPageWithVelocity for instance, and then write #includeInContext($MySpace.MyPageWithVelocity) in your actual page. Quite similar to Vitantonio solution though maybe quicker... Guillaume On 19/12/2007, Vitantonio Messa <[email protected]> wrote:
[email protected] wrote:
Hi Sergiu,
Thank you for the answer. I thought i could set them automatically... Anyway, regarding the opportunity to use some velocity scripts to do it, I've found that if i open a page with WYSIWYG editor i lost all velocity scripts in it. Is there a way to solve this issue (avoiding to use only the wiki editor? You can write a macro that contains the velocity script and then include the macro in the wiki-page. That will work for sure, I had a kind of similar problem and I solved it like that. Hope it helps!
Vito
Thanks
Mattia
----- Messaggio originale ----- Da: Sergiu Dumitriu <[email protected]> A: XWiki Users <[email protected]> Inviato: Mercoledì 19 dicembre 2007, 9:20:09 Oggetto: Re: [xwiki-users] Permission Rights and Parent pages
[email protected] <mailto:[email protected]> wrote:
Hi everybody,
I'm trying to set some rights on some pages, and i'd like to have
those
permissions setted automatically on some other pages. I've setted on one and i've set for the other the first one as the parent. This isn't working :(
How can i solve it??
Thank you!!!!!
Rights aren't inherited from the parent.
You can either use space rights, template rights, or use some velocity scripts to set the rights.
Sergiu _______________________________________________ users mailing list [email protected] <mailto:users@xwikiorg> http://lists.xwiki.org/mailman/listinfo/users
------------------------------------------------------------------------ ------------------------------------------------------------------------ L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail < http://us.rd.yahoo.com/mail/it/taglines/hotmail/nowyoucan/nextgen/*http://it...
------------------------------------------------------------------------
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Vitantonio Messa +358 46 889 48 49 - [email protected] COSS - The Finnish Centre for Open Source Solutions @ Technology Centre Hermia Ltd. Hermiankatu 1, FIN-33720 Tampere, FINLAND
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
I think there was a bug causing this in an older XWiki release. Can you upgrade to a newer version? What version are you currently using? Sergiu [email protected] wrote:
Hi Sergiu,
Thank you for the answer. I thought i could set them automatically... Anyway, regarding the opportunity to use some velocity scripts to do it, I've found that if i open a page with WYSIWYG editor i lost all velocity scripts in it. Is there a way to solve this issue (avoiding to use only the wiki editor?
Thanks
Mattia
----- Messaggio originale ----- Da: Sergiu Dumitriu <[email protected]> A: XWiki Users <[email protected]> Inviato: Mercoledì 19 dicembre 2007, 9:20:09 Oggetto: Re: [xwiki-users] Permission Rights and Parent pages
[email protected] <mailto:[email protected]> wrote:
Hi everybody,
I'm trying to set some rights on some pages, and i'd like to have those permissions setted automatically on some other pages. I've setted on one and i've set for the other the first one as the parent. This isn't working :(
How can i solve it??
Thank you!!!!!
Rights aren't inherited from the parent.
You can either use space rights, template rights, or use some velocity scripts to set the rights.
Sergiu
participants (4)
-
Guillaume Lerouge -
mattia_temp-newsgroup@yahoo.it -
Sergiu Dumitriu -
Vitantonio Messa