refs #4747 make sure to restrict sites to login when generating graph url
refs #4747 verify user has at least view access for the site