Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

show draft pages in menus if the viewing user is CMS-authenticated #1599

Merged
merged 5 commits into from Jul 10, 2018

Conversation

Pomax
Copy link
Contributor

@Pomax Pomax commented Jun 7, 2018

This PR changes the menu building logic so that pages that are in draft are not skipped over when the viewing user has an authenticated session with the CMS (i.e. they are logged into the CMS when viewing pages).

This PR also dries out the tags for showing menus, since all three tags used the exact same data objects

@ScottDowne
Copy link
Contributor

Just cleaning up my backlog, and found this. (sorry about missing it)

If this is still valid, and you rebase it, I can take a look asap.

@Pomax
Copy link
Contributor Author

Pomax commented Jul 9, 2018

still relevant, so: rebased.

Copy link
Contributor

@ScottDowne ScottDowne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Look great.

@Pomax Pomax merged commit 33d7e5d into master Jul 10, 2018
@Pomax Pomax deleted the show-draft-to-authed-users branch July 10, 2018 18:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants