mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-13 07:17:08 +00:00
When plugin.install can't write or remove a grant and the write that puts the old module back reports a failure, install now reads the stored module again and turns the plug-in on only when the store holds the new module. A put-back that wrote the old bytes and then failed (for example at its last flush) leaves a disabled plug-in disabled. This applies to modules that list permissions and to modules that don't.