Wiki source code of ProgrammingRight

Last modified by Thomas Mortagne on 2018/10/18 09:32

Show last authors
1 {{velocity}}
2 ## Accessing those two objects require programming right
3 #set($protectedContext = $xcontext.context)
4 #set($protectedDocument = $xwiki.getDocument("Space2.Toto").document)
5
6 $protectedContext.getWiki().deleteDocument($protectedDocument, false, $protectedContext)
7 {{/velocity}}