> hello,
> I would like to write some scripts which do some more complex SQL
> extraction
> requests using for example $xwiki.search(sql)... no modif of the DB, just
> extraction for presentation... I would prefer not to be forced to code a
> new
> Java module just for this...
>
> But this function is protected by programming rights...
> So I must give programming rights to allow people to view this page... I
> find a bit disturbing because programming rights have a "sensitive"
> meaning
> in my head...
>

 I really think, that concept of programming right in xwiki is fundamental
flaw: evaluation of program is not programming.

So, I just usually grant programming rights to everyone.

Imho, if we want to fix this, than 'check programming right' in plugins
must be applied not to user of page, but to page author, on which called
function is situated.  (I plan switch to such semantics in next release of
xwikisql)


> What's your point of view about this? What's the lightest, cleverest and
> fairest way to allow this? Any advice? :)
>
> regards
> Pascal
> _______________________________________________
> devs mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/devs
>


_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to