Hi Paul,
$doc.hasProgrammingRights() returns true if
$xwiki.hasAccessLevel("programming", $doc.getContentAuthor(),
"xwiki:XWiki.XWikiPreferences") is true
and $xcontext.dropPermissions() has not been called in the same request.
What is important is that the contentAuthor of the document has a pe
Hello XWiki ers,
on #xwiki, Sergiu was kind enough to indicate that my current bug, the fact
that $!xwiki.getXWiki().Param(...) returns empty is a programming rights issue:
the problem seems to be that the resource page, whose rendering is entirely
made outside of the wiki-page-content.
And I