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,23 +202,20 @@ 202 202 places where local rights may exist. 203 203 </p> 204 204 {{/html}} 205 -{{/velocity}} 206 - 207 -{{code}} 208 -#set ($query = "from doc.object(XWiki.XWikiRights) rights order by doc.fullName asc") 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") 209 209 #set ($pages = $services.query.xwql($query).execute()) 210 210 211 211 #if ($pages.isEmpty()) 212 212 No pages with local XWiki rights were found. 213 213 #else 214 - |= Page |= Reviewnote212 + |= Page |= Local rights found 215 215 #foreach ($page in $pages) 216 - | [[$page]] | Local rights configured214 + | [[$page]] | yes 217 217 #end 218 218 #end 219 219 {{/code}} 220 220 221 -{{velocity}} 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