Skip to content

feat: introduce project locking at the model level - #1949

Open
gounux wants to merge 3 commits into
masterfrom
QF-8965-modelize-project-locking
Open

gounux wants to merge 3 commits into
masterfrom
QF-8965-modelize-project-locking

Conversation

@gounux

@gounux gounux commented Nov 18, 2026

Copy link
Copy Markdown
Member

This PR intends to introduce a locking mechanism for QFieldCloud's projects, by adding 3 new model fields:

  • lock_acquired_by: which Person acquired it (if any),
  • lock_expires_at: expiration datetime of the lock (if any),
  • lock_is_explicit: if the project is explicitly locked.

The expiration duration of such a lock is currently QFIELDCLOUD_WORKER_TIMEOUT_S, open to discussion.

@gounux
gounux force-pushed the QF-8965-modelize-project-locking branch from 0eb3cb3 to 8fcf5eb Compare November 19, 2026 08:53
@gounux
gounux marked this pull request as ready for review November 19, 2026 08:54
@gounux
gounux force-pushed the QF-8965-modelize-project-locking branch from 8fcf5eb to ce169cb Compare November 19, 2026 15:22
@gounux
gounux force-pushed the QF-8965-modelize-project-locking branch from ce169cb to c982326 Compare November 24, 2026 08:00
@gounux
gounux force-pushed the QF-8965-modelize-project-locking branch from c982326 to 4e6ddc2 Compare November 24, 2026 10:48
@gounux gounux changed the title feat: modelize project locking feat: introduce project locking at the model level Nov 24, 2026
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.

2 participants