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,8 +202,10 @@ 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 + 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()) ... ... @@ -216,6 +216,7 @@ 216 216 #end 217 217 {{/code}} 218 218 221 + 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