OpenEnergyPlatform / OpenEnergyPlatform/oeplatform

Implement a locking mechanism for editing the shared entities in bundles.

Open
#1,504 0 comments 1 reaction 2 assignees View on GitHub

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:
Screenshot 2023-12-11 at 16 25 31

Workflow checklist

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.