Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
restrict anonymous users to public, live pages.
This was set to just `.live()` before, which meant anonymous users could see menu items for pages that were marked as private. This fix adds in an extra queryset restriction to prevent private pages from showing up to users who shouldn't see them.
- Loading branch information