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

From version 2.5
edited by Agnease
on 2026/06/08 18:05
Change comment: There is no comment for this version
To version 2.9
edited by Agnease
on 2026/06/08 18:10
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -203,8 +203,9 @@
203 203   </p>
204 204  {{/html}}
205 205  
206 -{{code language="velocity"}}
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")
206 +
207 +{{code}}
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 +
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