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

From version 2.7
edited by Agnease
on 2026/06/08 18:07
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
... ... @@ -202,10 +202,10 @@
202 202   places where local rights may exist.
203 203   </p>
204 204  {{/html}}
205 -{{/velocity}}
206 206  
206 +
207 207  {{code}}
208 -#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")
209 209  #set ($pages = $services.query.xwql($query).execute())
210 210  
211 211  #if ($pages.isEmpty())
... ... @@ -218,7 +218,7 @@
218 218  #end
219 219  {{/code}}
220 220  
221 -{{velocity}}
221 +
222 222  {{html clean="false"}}
223 223   <p>
224 224   Use the result as a starting point. Each page should be reviewed in context: why local rights were added, which