diff options
author | George Goldberg <george@gberg.me> | 2018-06-11 15:24:08 +0100 |
---|---|---|
committer | Carlos Tadeu Panato Junior <ctadeu@gmail.com> | 2018-06-11 16:24:08 +0200 |
commit | d4761a94cebfd667373e1635dd1c9ad334b3b80c (patch) | |
tree | ff1e4ff5750450ade5823b1d7a0b342cfc36c70a /einterfaces/mfa.go | |
parent | 566539bc67c8e467f88401551f999436e27fe70a (diff) | |
download | chat-d4761a94cebfd667373e1635dd1c9ad334b3b80c.tar.gz chat-d4761a94cebfd667373e1635dd1c9ad334b3b80c.tar.bz2 chat-d4761a94cebfd667373e1635dd1c9ad334b3b80c.zip |
Fix idempotency of scheme migrations. (#8935)
This fixes the issue where if the migration tries to migrate an already
scheme-aware member object it would end up removing it's scheme-derived
roles.
Instead, only if the member object is unmigrated do we default to
setting the scheme-derived role booleans to false. We tell if it is an
unmigrated member object by checking if the booleans are set to null.
Diffstat (limited to 'einterfaces/mfa.go')
0 files changed, 0 insertions, 0 deletions