Last modified by Agnease on 2026/06/08 18:37

From version 2.6
edited by Agnease
on 2026/06/08 18:06
Change comment: There is no comment for this version
To version 2.8
edited by Agnease
on 2026/06/08 18:08
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -202,9 +202,10 @@
202 202   places where local rights may exist.
203 203   </p>
204 204  {{/html}}
205 +{{/velocity}}
205 205  
206 206  {{code}}
207 -#set ($query = "select distinct doc.fullName from XWikiDocument doc, BaseObject obj where obj.name = doc.fullName and obj.className = 'XWiki.XWikiRights' order by doc.fullName asc")
208 +#set ($query = "from doc.object(XWiki.XWikiRights) rights order by doc.fullName asc")
208 208  #set ($pages = $services.query.xwql($query).execute())
209 209  
210 210  #if ($pages.isEmpty())
... ... @@ -217,6 +217,7 @@
217 217  #end
218 218  {{/code}}
219 219  
221 +{{velocity}}
220 220  {{html clean="false"}}
221 221   <p>
222 222   Use the result as a starting point. Each page should be reviewed in context: why local rights were added, which