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:
Dan Stillman 2015-06-07 15:40:04 -04:00
parent 53706d633a
commit a22c4969e6
9 changed files with 294 additions and 106 deletions

View file

@ -7,7 +7,9 @@ describe("Zotero.Groups", function () {
}
finally {
if (group) {
yield group.erase();
yield Zotero.DB.executeTransaction(function* () {
return group.erase();
})
}
}
})