[signin] Allow dasher accounts to abort signin
Dasher accounts generally are not allowed to signout, because they may have synced data that belongs to their administrator, and this data must not leave their account. The intended way to remove a dasher account from Chrome is to delete the associated profile. Due to this restriction, aborting signin was not possible for a dasher account, even though the UI was shown. This results in a bad user experience where the user clicks on the "cancel" button, but signin is actually not cancelled. The fix implemented here is to allow the user to signout without deleting the profile. This is acceptable because the data has not been synced yet. Bug: 864761, 804360 Change-Id: Iffbcde87ee242ada2815cd13d0bf8c660726d900 Reviewed-on: https://chromium-review.googlesource.com/c/1278734Reviewed-by:Mihai Sardarescu <msarda@chromium.org> Commit-Queue: David Roger <droger@chromium.org> Cr-Commit-Position: refs/heads/master@{#599610}
Showing
Please register or sign in to comment