Re: [xwiki-users] evaluate programming rights?

2012-07-27 Thread Caleb James DeLisle
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

[xwiki-users] evaluate programming rights?

2012-07-24 Thread Paul Libbrecht
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