Changes for page How to start an XWiki access-rights review
Last modified by Agnease on 2026/06/08 18:37
Summary
-
Page properties (1 modified, 0 added, 0 removed)
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 rightsfound214 + |= Page |= Review note 213 213 #foreach ($page in $pages) 214 - | [[$page]] | yes216 + | [[$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