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

From version 2.4
edited by Agnease
on 2026/06/08 18:05
Change comment: There is no comment for this version
To version 2.11
edited by Agnease
on 2026/06/08 18:12
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -202,20 +202,23 @@
202 202   places where local rights may exist.
203 203   </p>
204 204  {{/html}}
205 -{{code language="velocity"}}
206 -#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")
205 +{{/velocity}}
206 +
207 +{{code}}
208 +#set ($query = "from doc.object(XWiki.XWikiRights) rights order by doc.fullName asc")
207 207  #set ($pages = $services.query.xwql($query).execute())
208 208  
209 209  #if ($pages.isEmpty())
210 210   No pages with local XWiki rights were found.
211 211  #else
212 - |= Page |= Local rights found
214 + |= Page |= Review note
213 213   #foreach ($page in $pages)
214 - | [[$page]] | yes
216 + | [[$page]] | Local rights configured
215 215   #end
216 216  #end
217 217  {{/code}}
218 218  
221 +{{velocity}}
219 219  {{html clean="false"}}
220 220   <p>
221 221   Use the result as a starting point. Each page should be reviewed in context: why local rights were added, which