Hi devs,
It seems that our SecureQueryManager [1] is preventing the execution of
queries other than XWQL and HQL in the absence of PR.
However, this is not at all a friendly policy when it comes to extensions.
An example of where this is causing problems is Solr queries, where only
users (well, document authors) with PR can execute them.
As the subject says, I suggest removing this restriction and leaving rights
check to be performed in each QueryExecutor's execute() method.
The associated Jira issue is XWIKI-9386 [2]
Here's my +1.
Thanks,
Eduard
----------
[1]
https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwi…
[2]
http://jira.xwiki.org/browse/XWIKI-9386