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
qawanted for branch checks.
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.
NI on Francisco for further clarification, in bug 1043746 you state that we need to see this permission request every time.
Yes, that's right, otherwise we won't be able to change account and will stick always with the first one entered.
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.