Skip to content

Conversation

@petschki
Copy link
Member

@petschki petschki commented Jul 4, 2025

Test together with plone/Products.CMFPlone#4042


📚 Documentation preview 📚: https://plonerestapi--1936.org.readthedocs.build/

@mister-roboto
Copy link

@petschki thanks for creating this Pull Request and helping to improve Plone!

TL;DR: Finish pushing changes, pass all other checks, then paste a comment:

@jenkins-plone-org please run jobs

To ensure that these changes do not break other parts of Plone, the Plone test suite matrix needs to pass, but it takes 30-60 min. Other CI checks are usually much faster and the Plone Jenkins resources are limited, so when done pushing changes and all other checks pass either start all Jenkins PR jobs yourself, or simply add the comment above in this PR to start all the jobs automatically.

Happy hacking!

self.assertEqual(response["items_total"], 1)
else:
# ... before it was not
self.assertEqual(response["items_total"], 0)
Copy link
Member

Choose a reason for hiding this comment

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

The expired items need to be published to make sure they are filtered out here because of their expiration date and not because of allowedRolesAndUsers

@davisagli
Copy link
Member

Also, keep in mind plone.restapi still supports Plone 5 and 6.0. So this will need to be a test that runs conditionally based on the Plone version.

@petschki
Copy link
Member Author

petschki commented Jul 6, 2025

Also, keep in mind plone.restapi still supports Plone 5 and 6.0. So this will need to be a test that runs conditionally based on the Plone version.

Does this rolechange gets backported to Plone 6? otherwise I'll check for the new roles in 6.1/2 separately ...

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.

5 participants