0 Votes
Last modified by Ryan C on 2025/06/09 11:08

From version 2.1
edited by Ryan C
on 2025/06/09 11:08
Change comment: Install extension [org.xwiki.contrib:application-rightsui-simplifier/1.2]
To version 1.1
edited by Ryan C
on 2025/03/06 09:59
Change comment: Install extension [org.xwiki.platform:xwiki-platform-administration-ui/17.1.0]

Summary

Details

Page properties
Content
... ... @@ -1,1 +1,14 @@
1 -{{include reference="XWiki.AdminRightsSheet" /}}
1 +{{velocity}}
2 +{{info}}
3 + #set($webHomeRef = $services.model.resolveDocument('WebHome'))
4 + ## For the children link, we do not use 'viewer=children' because the WebHome might not exist and the viewer shows a
5 + ## 404 error in that case. Instead, we use 'xpage=children' because it always works, and because children document
6 + ## could exist even if the parent document does not.
7 + $services.localization.render('admin.pageandchildrenrights.info', ['**', '[[', ">>path:$xwiki.getURL($webHomeRef, 'view', 'xpage=children')]]", '**'])
8 +{{/info}}
9 +
10 +### Administrate the rights in a space (page + children = space).
11 +{{html}}
12 +#template('rightsUI.vm')
13 +{{/html}}
14 +{{/velocity}}