@classmethod
    def upgrade_from_v3(cls, config):
        decoded_config = loads(config)
        decoded_config[u"version"] = 4
        decoded_config[u"deployment"][u"persistent_state"] = {
            _CLASS_MARKER: u"PersistentState",
            u"blockdevice_ownership": {
                u"values": [], _CLASS_MARKER: "PMap",
            },
        }
        return dumps(decoded_config)
Return a resource corresponding to all privileges from this repo,
dataset/ETHPy150Open ClusterHQ/flocker/flocker/control/_persistence.py/ConfigurationMigration.upgrade_from_v3--crossover with--dataset/ETHPy150Open ducksboard/libsaas/libsaas/services/bitbucket/repositories.py/Repo.privileges