Implement new profiles-related sync merge warning dialog
Categories
(Toolkit :: Startup and Profile System, enhancement)
Tracking
()
People
(Reporter: jhirsch, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [fidefe-profile-management] )
(TODO is there a bug already on file in the Sync jira?)
As described in the docs [1] and [2], implement a new sync merge warning to offer to launch a profile that's already signed into the given account, and do not allow users to sign into sync in two different profiles in a profile group at the same time.
Here I suspect we want to iterate over profiles in the profile group (via await SelectableProfileService.getAllProfiles()), then for each profile, get the root directory (via profile.rootDir to get an nsIFile or profile.path to get a string), and check if there is a signedInUser.json in that directory that contains a matching email address of the account that is currently signing in. If found, show the error (and offer to launch that profile, via SelectableProfileService.launchInstance(profile).
Updated•1 year ago
|
| Reporter | ||
Updated•1 year ago
|
| Reporter | ||
Updated•1 year ago
|
| Reporter | ||
Comment 1•1 year ago
|
||
The sync team is doing this work; closing as a dupe of their bug.
Description
•