You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The backup json files include the Enabled boolean attribute, but in my experience this value is not utilized during the restore.
As a result, previously disabled, backed-up accounts are no longer disabled after restoring from that backup.
It's easy enough to handle this case outside of this tool, but since I've gotten a lot of mileage out of the tool I would be happy to contribute back if there is interest.
The text was updated successfully, but these errors were encountered:
How would you do that during restore? sounds like somethign we could add, maybe behind a CLI flag
Similar to how you are doing the groups. At some point after the user is created, add logic to the effect of:
if(user.Disabled===false){AdminDisableUser(...)}
I'd try to make the case that this should be the default behavior so the restored state more closely matches the backed-up state, but I wouldn't argue against a CLI flag to disable the proposed behavior.
The backup json files include the
Enabled
boolean attribute, but in my experience this value is not utilized during the restore.As a result, previously disabled, backed-up accounts are no longer disabled after restoring from that backup.
It's easy enough to handle this case outside of this tool, but since I've gotten a lot of mileage out of the tool I would be happy to contribute back if there is interest.
The text was updated successfully, but these errors were encountered: