UP-4025: Adjusting the parameter sent in for permission check to get the proper results
Merge pull request #268 from shawnconnolly/UP-4025

UP-4025: Fix XSLT configure mode permission check identification of portlets.

Without this change fails closed rather than open, so this is not a security fix, just a feature fix.