XWIKI-10960: $xwiki.checkAccess($someDoc, 'programming') always fails
Fixed