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,9 +202,10 @@ 202 202 places where local rights may exist. 203 203 </p> 204 204 {{/html}} 205 +{{/velocity}} 205 205 206 206 {{code}} 207 -#set ($query = " select distinct doc.fullName fromXWikiDocumentdoc, 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") 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 +{{velocity}} 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