Conversation
There was a problem hiding this comment.
Testing this locally I can see it working as expected with draft, never published pages in bundle preview. However, when I add an image to an already live page and add that update page to a bundle, it's still not showing to the previewer and raising PermissionDenied. In debug I can see that the referencing_pages queryset is coming back empty for the already live pages.
That hit a limitation of the reference index |
sanjeevz3009
left a comment
There was a problem hiding this comment.
Looks good so far. Will do another round of review later today.
MebinAbraham
left a comment
There was a problem hiding this comment.
Mostly all are working as expected, some minor comments and an edge case that needs further consideration.
|
@MaciekBaron I'm having issues where the access cookie isn't getting set properly in safari. First thought it was part of the tracking and fingerprinting protection in private browsing but seems to be occurring in regular browsing mode too. Can't replicate on other browsers though. |
Sorry wasn't super familiar with Safari, turns out it doesn't set 'Secure' cookies on localhost. |
|
Re tested with the newest changes. Rate limiting worked when I set it to a lower value. Wasn't able to hit 20 entries even when intentionally navigating as quickly as I could between pages on a bundle of 21, so think the current default is reasonable. |
Co-authored-by: Mebin Abraham <35296336+MebinAbraham@users.noreply.github.com>
Co-authored-by: Mebin Abraham <35296336+MebinAbraham@users.noreply.github.com>
What is the context of this PR?
This enables previewers to view private media when previewing content in a bundle
How to review
Screencast
Follow-up Actions
List any follow-up actions (if applicable), like needed documentation updates or additional testing.