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

Users should not be able to check out a page when it is locked #69

Open
cdw9 opened this issue Apr 8, 2019 · 1 comment
Open

Users should not be able to check out a page when it is locked #69

cdw9 opened this issue Apr 8, 2019 · 1 comment

Comments

@cdw9
Copy link
Member

cdw9 commented Apr 8, 2019

Plone 5.1.4
plone.app.iterate 3.3.10

Steps to reproduce:

  • Log in as User A, Edit a page
  • As User B, create a checkout of the page

Seems we should prevent this from happening, since the checkout will be out of sync after User A saves the page.

@cdw9
Copy link
Member Author

cdw9 commented Apr 8, 2019

As a quick fix, I created an override of checkout.pt, and put in a condition checking context/wl_isLocked

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

No branches or pull requests

1 participant