From: Rafael A. <sor...@ya...> - 2005-11-24 22:50:35
|
Crawford, Perhaps I missed something when I was out, but why exactly the rest script is dangerous? Invoked plugins need to be WikiWords, and must be in TWiki::Plugins package. So it's basically running "trusted" code. Anyway, I see the benefits of having a registerRestFunction API or something like that so Plugins can have a mix of REST-able methods and common methods, so I'll do it. Should this go to Dakar or packaged as a Contrib? Cheers, Rafael Alvarez Thursday, November 24, 2005, 8:59:19 AM, you wrote: CC> Peter Thoeny wrote: >>How about adding that registerRestFunction API function now? >> >> CC> That's what I meant when I said: >>Crawford Currie wrote: >> >> >>>I'm sure it will >>>all be fine when that is fixed to constrain what methods can be called >>>from plugins, rather than the current "let 'em all out" approach. >>> >>> CC> But I'm not going to do it. CC> Raf? CC> C. |