fixes #4456

Submitted changes suggested by Will here https://github.com/dotCMS/dotCMS/issues/4456 however, since this Viewtool has an application scope, we can't reuse the code we have in jspTool.canUserEvaluate() unless we change its scope to "request".