Move editable and filesEditable props to libraries table [DB reupgrade]
And add group.fromJSON(json, userID), which sets editable and filesEditable properties based on the group JSON (libraryReading, role lists, etc.) and the given user
This commit is contained in:
parent
53706d633a
commit
a22c4969e6
9 changed files with 294 additions and 106 deletions
|
@ -7,7 +7,9 @@ describe("Zotero.Groups", function () {
|
|||
}
|
||||
finally {
|
||||
if (group) {
|
||||
yield group.erase();
|
||||
yield Zotero.DB.executeTransaction(function* () {
|
||||
return group.erase();
|
||||
})
|
||||
}
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue