[PulseGuardian] Integrated user-backup system

NEW
Unassigned

Status

P4
normal
5 years ago
4 years ago

People

(Reporter: mcote, Unassigned)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

5 years ago
Since PulseGuardian handles users on Pulse, in particula rafter bug 1068438 lands and PulseGuardian users can have multiple Pulse users, it makes sense for PulseGuardian to be able to back up RabbitMQ's users and restore them.

We can use the management API to do this.  This backup should *not* be stored in the db; we're backing up encrypted passwords, so keeping the JSON directly in a file and far from the db is preferable.

Backing up users should probably be run as part of the guardian.py service, but an admin should be able to run backup (and restore) users from the command line as well.

If one or more users suddenly disappear, we should at least email admins.  We could consider automatically restoring users who disappear, though this should definitely be behind an option, defaulting to off.
(Reporter)

Updated

5 years ago
Assignee: nobody → mcote
Status: NEW → ASSIGNED
(Reporter)

Updated

5 years ago
Duplicate of this bug: 1067197
(Reporter)

Comment 2

5 years ago
Not terribly important since automated backups using a similar process appear to be working now.
Priority: P1 → P4
(Reporter)

Updated

4 years ago
Assignee: mcote → nobody
Status: ASSIGNED → NEW
You need to log in before you can comment on or make changes to this bug.