[Contacts][Email import] Cancelling an email contacts import prevents any future account permission requests with that account.

REOPENED
Unassigned

Status

Firefox OS
Gaia::Contacts
REOPENED
3 years ago
3 years ago

People

(Reporter: Marty, Unassigned)

Tracking

unspecified
ARM
Gonk (Firefox OS)

Firefox Tracking Flags

(b2g-v2.2 affected)

Details

(Whiteboard: [2.2-Daily-Testing], URL)

Attachments

(1 attachment)

(Reporter)

Description

3 years ago
Created attachment 8534598 [details]
logcat-email-permissions.txt

Description:
After signing in to an email account to import contacts, the user will remain signed in to this account.  If they then select to import from that account again later on, they will still be signed in, but will also be presented with a Request for Permission prompt each time they do this (as defined in the comments of Bug 1043746).

However, if, after accepting the Permission request, they press the [X] icon in the upper left corner to cancel the import process, they will not be prompted with another Permission request for any subsequent import attempts for that account.  This issue persists through both an app closure and a phone reboot.

Repro Steps:
1) Update a Flame device to BuildID: 20141210040201
2) Connect to a WiFi or Data network
3) Open the Contacts app and Navigate to Settings.
4) Select Import and select Gmail.
5) Sign in with a Gmail account that has at least 1 contact available.
6) Accept the Permission Request.
7) At the contact selection screen, select the [X] button in the top left corner to cancel the import.
8) Select Gmail from the Import screen again.
  
Actual:
User is no longer prompted with a Request for Permission screen when they select to import from that email account.

Expected: 
User is always prompted with a Request for Permission screen, each time they select to import from an email account.

Environmental Variables:
Device: Flame 2.2 Master (319MB)
BuildID: 20141210040201 (Full Flash)
Gaia: e17c5656dbf517d48fb61ac9bc92119e023fd717
Gecko: be1f49e80d2d
Gonk: 48835395daa6a49b281db62c50805bd6ca24077e
Version: 37.0a1 (2.2 Master)
Firmware: V188-1
User Agent: Mozilla/5.0 (Mobile; rv:37.0) Gecko/37.0 Firefox/37.0
  
Notes:
  
Repro frequency: 10/10
See attached: video clip (URL), logcat
(Reporter)

Updated

3 years ago
QA Whiteboard: [QAnalyst-Triage?]
Flags: needinfo?(pbylenga)
qawanted for branch checks.
QA Whiteboard: [QAnalyst-Triage?]
Flags: needinfo?(pbylenga)
Keywords: qawanted
This is invalid, you as a user accepted the app, we logout, but you already accepted the permissions, if you want to disable that you'll need to go through Google account to remove Firefox OS as an app that can access your data.
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → INVALID
Keywords: qawanted
NI on Francisco for further clarification, in bug 1043746 you state that we need to see this permission request every time.
Flags: needinfo?(francisco)
Yes, that's right, otherwise we won't be able to change account and will stick always with the first one entered.
Flags: needinfo?(francisco)
Then I'm re-opening this bug, Comment 0 states that if you cancel the import process you are no longer presented with the permission page and are stuck with the first account entered.
Status: RESOLVED → REOPENED
Resolution: INVALID → ---
You need to log in before you can comment on or make changes to this bug.