OpenEnergyPlatform / OpenEnergyPlatform/oeplatform
Implement a locking mechanism for editing the shared entities in bundles.
Open
Nobody has claimed this yet.
NFDI‐FlexFundUsability
priority: low 🦥
Scenario Bundle
type: enhancement :gear:
- Dominant language
- Python
- Stars
- 65
- Forks
- 29
- Avg merge
- 15h 25m
- Merged PRs (30d)
- 32
Description
Description of the issue
Certain entities within bundles are shared among multiple bundles. For example "Institutions" or "Contact person". As a result, multiple users can edit these entities simultaneously. This could potentially result in updates that are not consistent.
Ideas of solution
A locking mechanism that prevents simultaneous updates and only allows one update at a time based on a timeout. See below:
Workflow checklist
- I am aware of the workflow in CONTRIBUTING.md
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.