odoo/o-spreadsheet#5245
Created by fw-bot
Merged
at 661fd6531de01a6d1371ad77e72f0269f683a9b8
Statuses:
- label
- odoo:master-17.0-snapshot-leave-readonly-lul-dCGO-fw
- head
- bc815de669ddfaade435834cf5d93674c7fd08bd
- merged
- 1 week ago by BI, Lucas Lefèvre (lul)
odoo/o-spreadsheet | |
---|---|
17.0 | #5228 |
saas-17.2 | #5242 |
saas-17.4 | #5243 |
18.0 | #5244 |
master | #5245 |
[FW][FIX] collaborative: don't snapshot in read-only mode
Description:
Steps to reproduce:
- open two browser windows with 2 different users: Alice and Bob. Alice has write access and Bob have only read-only access
- open the same spreadsheet with both users
- Alice updates a few cells
- Alice leaves the spreadsheet
- Bob leaves the spreadsheet
=> Bob is faced with an access error because he is trying to snapshot
the spreadsheet.
Task: 4344187
review checklist
- [ ] feature is organized in plugin, or UI components
- [ ] support of duplicate sheet (deep copy)
- [ ] in model/core: ranges are Range object, and can be adapted (adaptRanges)
- [ ] in model/UI: ranges are strings (to show the user)
- [ ] undo-able commands (uses this.history.update)
- [ ] multiuser-able commands (has inverse commands and transformations where needed)
- [ ] new/updated/removed commands are documented
- [ ] exportable in excel
- [ ] translations (_t("qmsdf %s", abc))
- [ ] unit tested
- [ ] clean commented code
- [ ] track breaking changes
- [ ] doc is rebuild (npm run doc)
- [ ] status is correct in Odoo
Forward-Port-Of: #5228