-
-
Notifications
You must be signed in to change notification settings - Fork 27
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
Release page content is not visible for public users #55
Comments
Additional informationThere is a 401 call to |
For me it only seems to be working. It seems like I am anonymous, there is nothing that indicates otherwise, but apparently I am logged in, which is why I can see the text. |
Ah, that may be because at some point I was also logged in at the ClassicUI level. That may trip up some authentication logic. |
This comment was marked as off-topic.
This comment was marked as off-topic.
BTW, the anonymous contents of https://beta.plone.org/++api++/download/releases/5.2.10 look fine: they contain all the necessary information to show on this page. But the 401 for some other urls might trip this up after all. |
Part of what is happening here is that the default schema-based view in volto depends on the /@types REST API endpoint, and it appears that that is not public. I think it should be, based on the zope2.View permission in the ZCML: https://github.com/plone/plone.restapi/blob/master/src/plone/restapi/services/types/configure.zcml#L11 Ah, but the view code itself does an explicit check that the user is logged in: https://github.com/plone/plone.restapi/blob/master/src/plone/restapi/services/types/get.py#L23 It's a pity this is not checking a permission, which would make it easier to change the policy. Possible short-term workarounds I can think of:
|
Related to plone/plone.restapi#1409 |
Fixed in #56, works now. @mauritsvanrees do you want to create a separate issue about the Files field? |
@davisagli Thanks! I have split off the look of Files in a separate issue: #57 |
@mauritsvanrees I think this was already deployed as soon as #56 was merged. |
I was just about to type something like that, as it seems to be working now. :-) |
Release page content is not visible for public users:
https://beta.plone.org/download/releases/6.0.0rc2
Only title is visible if you are not logged in.
The text was updated successfully, but these errors were encountered: