Hidendra/LWC — Issue #149: rights table issues in v4
Author: epuidokas
Created: 2011-11-17 15:33:52+00:00
State: open

In v4, the rights table is only used for reads onEnable; not writes.

This meant that once we moved from v3 to v4, there was no way to get rid of old rights. We would remove them, but v4 would only remove them from the protections table, not the rights table. Then next time the plugin restarted, it would reload them from the rights table again and put them back into the protections table.

I think the fix would be to only copy the rights table into protections the first time, and then wipe the rights table, so it doesn't happen again.