On Sun, Dec 18, 2011 at 7:38 PM, Eugen Colesnicov <ecolesnicov(a)gmail.com> wrote:
Hi everybody!
I have a code with full form XWQL statements (select ...). I want to include
this code in my custom panel. I saved panel as a admin user (with enabled
programming rights).
If I look panel at it own page (opened
http://localhost:8080/xwiki/bin/view/Panels/MyPanel) - all is looking
perfectly - it gave my results.
But If I enable panel in XWiki (put it via Panel Wizard at right-side of a
screen) - I received an error on it:
Caused by: org.xwiki.query.QueryException: Full form XWQL statements
requires programming right. Query statement = ...
What's the difference? Maybe I should re-save some other pages with
programming rights? How is it possible to find needed pages?
The difference is this
https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwi…
i.e. anything that is rendered after the document content doesn't have
programming rights. This includes panels. See
http://jira.xwiki.org/browse/XWIKI-6823 .
Hope this helps,
Marius
--
Best regards
Eugen Colesnicov
--
View this message in context:
http://xwiki.475771.n2.nabble.com/Checking-programming-rights-tp7106250p710…
Sent from the XWiki- Users mailing list archive at
Nabble.com.
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users