Closed Bug 1895981 Opened 4 months ago Closed 3 months ago

Disable confirm button for "turn on scheduled backups" dialog if encryption is required and not yet set

Categories

(Firefox :: Profile Backup, task, P3)

task

Tracking

()

RESOLVED FIXED
129 Branch
Tracking Status
firefox129 --- fixed

People

(Reporter: kpatenio, Assigned: kpatenio)

References

Details

(Whiteboard: [fidefe-device-migration])

Attachments

(1 file)

The dialog for turning on scheduled backups (see Bug 1893277) allows for encrypting the backup file if users want to back up sensitive data. This ticket is for implementing behaviour to prevent further progress in the dialog if that option is selected and a password has to be set. Users will be able to confirm their choice and enable scheduled backups once the password is made.

We may want to save the password in this bug too by passing the saved input to BackupUIParent.

For the lo-fi Figma design, see https://www.figma.com/file/vNbX4c0ws0L1qr0mxpKvsW/Fx-Backup?node-id=450-11409

Severity: -- → N/A
Priority: -- → P3
Whiteboard: [fidefe-device-migration]

I just filed Bug 1896772, which will impact all dialogs that enable users to add passwords for a backup file. We may want to pair work for that bug with work for this one.

See Also: → 1896772

I can make an attempt at this. Although most of the encryption functionality is based on existing work in Bug 1897278, we could add some logic for the dialog that handles:

  • validating inputted passwords* before we can press the "Confirm" button
  • Passing the inputted password from the dialog to BackupService via actors
  • Making BackupService set encryption alongiside the password using enableEncryption after closing the dialog
  • Inversely, we might have to call disableEncryption when we turn off scheduled backups via the turn-off-scheduled-backups dialog

*Unlike Bug 1896772, we won't focus on the complete password rules for this bug.

Assignee: nobody → kpatenio
Attachment #9404458 - Attachment description: WIP: Bug 1895981 - allow password setting from turn-on-scheduled-backups dialog → Bug 1895981 - allow password setting from turn-on-scheduled-backups dialog
Blocks: 1901308
Pushed by kpatenio@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/8103d1ae73d6
allow password setting from turn-on-scheduled-backups dialog r=backup-reviewers,mconley

Backed out for causing bc failures in browser_startup_mainthreadio.js

  • Backout link
  • Push with failures
  • Failure Log
  • Failure line: TEST-UNEXPECTED-FAIL | browser/base/content/test/performance/browser_startup_mainthreadio.js | unexpected read on D:\task_171808496973085\AppData\Roaming\Microsoft\Windows\Libraries\desktop.ini before becoming idle -
Flags: needinfo?(kpatenio)
Attachment #9404458 - Attachment description: Bug 1895981 - allow password setting from turn-on-scheduled-backups dialog → Bug 1895981 - Allow password setting from turn-on-scheduled-backups dialog. r=#backup-reviewers!
Pushed by mconley@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/01ba06d4406f
Allow password setting from turn-on-scheduled-backups dialog. r=backup-reviewers,fchasen
Status: NEW → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 129 Branch
Flags: needinfo?(kpatenio)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: