<
From version < 7.1 >
edited by Eduard Moraru
on 2015/07/29
To version < 7.2 >
edited by Thomas Mortagne
on 2015/07/29
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.enygma
1 +XWiki.ThomasMortagne
Content
... ... @@ -22,10 +22,24 @@
22 22  
23 23  = For Developers =
24 24  
25 -== <developer feature N> ==
25 +== Queries improvement ==
26 26  
27 -<description of developer feature N>
27 +=== Allow executing complete SELECT queries ===
28 28  
29 +In HQL and XWQL it's now possible to execute complete ##SELECT## queries without programming right as long as you follow some rules currently defined in ##com.xpn.xwiki.internal.store.hibernate.query.HqlQueryUtils## which is a list of database field allowed in the SELECT clause:
30 +
31 +* ##Document##/##XWikiDocument## table: ##fullName##, ##name##, ##space##, ##language##, ##defaultLanguage##, ##translation##, ##hidden##
32 +* ##Space##/##XWikiSpace## table: ##reference##, ##name##, ##parent##, ##hidden##
33 +
34 +=== New SecureQuery ===
35 +
36 +The right to execute or not some query is now controlled by each ##org.xwiki.query.QueryExecutor##.
37 +
38 +Anyone can ask the executor to check or ignore right through the new ##org.xwiki.query.SecureQuery## extending ##org.xwiki.query.Query##:
39 +
40 +* checkCurrentAuthor: indicate if the current author right should be checked
41 +* checkCurrentUser: indicate if the result should be filtered based on current user right (only implemented by SOLR right now)
42 +
29 29  == Deprecated and Retired projects ==
30 30  
31 31  <description of deprecated and retired projects>

Get Connected