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

Pages with restrictions are hidden in menus to anonymous user #4082

Closed
avoine opened this issue Apr 30, 2015 · 2 comments
Closed

Pages with restrictions are hidden in menus to anonymous user #4082

avoine opened this issue Apr 30, 2015 · 2 comments

Comments

@avoine
Copy link

avoine commented Apr 30, 2015

I want a page to be restricted in editing to a certain group but visible by anonymous users.
But with CMS_PERMISSION = True and CMS_PUBLIC_FOR = 'all'
pages with restrictions are hidden in menus to anonymous user.
But if they go to the url of the page directly they can see it.

So if I understand correctly, as soon as you restrict the edition of a page
anonymous users can't view it in the menus anymore.

Maybe adding the view permission and the anonymous user in the user list
in the permission section of a page could solve the problem.

@avoine
Copy link
Author

avoine commented Apr 30, 2015

an other simpler idea would be to add a new value to CMS_PUBLIC_FOR for "don't show pages with restriction in the menu" and just really show all pages by default.

@yakky
Copy link
Member

yakky commented May 3, 2015

Fixed in #4076

@yakky yakky closed this as completed May 3, 2015
yakky added a commit that referenced this issue May 4, 2015
Add test for anonymous permissions bug (#4082).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants