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

Multi user (concurrent) CMS editing #1367

Open
dotsi opened this issue May 21, 2020 · 0 comments
Open

Multi user (concurrent) CMS editing #1367

dotsi opened this issue May 21, 2020 · 0 comments
Labels

Comments

@dotsi
Copy link

dotsi commented May 21, 2020

Right now there is no functionality to support multi user editing trough the CMS.
The biggest issue are global sections because they are sent on every save of any page.
This way when someone edits the global header section on the homepage and saves it someone else could be editing an entirely different page and when they save they overwrite changes made to the header in the mean time.

It is understandable that you can overwrite a single page or a content entry if you edit it at the same time as someone else. But it becomes a problem when saving any page can overwrite changes made elsewhere. It is hard to understand and accept for users of the CMS.

An easy fix for this could be just not submitting the global sections on every save if they have not been altered. Just submit them if they have been edited.

The next step in making Locomotive more robust for concurrent editing would be to implement checks for saving pages and content entries that fetch the updated_at attribute before save and compare it to the one fetched when the form was first loaded. If they don't match the user should be alerted that the content has changed while they were editing and they should decide if they want to overwrite or cancel saving.

@did did added the feature label Oct 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants