silverstripe/silverstripe-cms — pull request #825 by simonwelsh (2013-08-08 22:51:36+00:00)
Title: FIX Check for stage and drafts in SiteTree::canView()

In relation to #824

This pulls back some of the changes made in a5f00ae to 3.0 to prevent the disclosure of draft and archived information on pages where the check in #824 doesn't happen (the login page and sitemap are the main places). Does cause a slight regression. See my comment on #824 for that.