You did not read the whole patch. This line is here for only one reason: let the action deal with the right check and Guillaume would not do much less than checking view right the way XWikiAction is working except by reimplementing the whole execute action and prepareDocument.