Closed Bug 1212830 (runtime-permissions) Opened 6 years ago Closed 6 years ago

[meta] Android 6.0: Support for runtime permissions

Categories

(Firefox for Android Graveyard :: General, defect)

All
Android
defect
Not set
normal

Tracking

(relnote-firefox 46+)

RESOLVED FIXED
Tracking Status
relnote-firefox --- 46+

People

(Reporter: sebastian, Unassigned)

References

()

Details

This meta bug tracks the work needed to support runtime permissions (>= Android 6.0).

System permissions are divided into two categories, normal and dangerous:

* Normal: The system grants the permission automatically (No risk for user's privacy)
* Dangerous permissions: The user has to explicitly give approval.

Currently Firefox needs 5 dangerous permissions:
* Camera
* Contacts
* Location
* Microphone
* Storage
Depends on: 1171302
Depends on: 1205216
Depends on: 1181881
Depends on: 1184033
Depends on: 1195663
Depends on: 1172998
No longer depends on: 1171302
We should make an Aha card for this.
Flags: needinfo?(bbermes)
can this be covered under this Aha card (https://mozilla.aha.io/features/FENN-239) or do you think we need a separate one?
Flags: needinfo?(bbermes)
Alias: runtime-permissions
(In reply to Barbara Bermes [:barbara] from comment #2)
> can this be covered under this Aha card
> (https://mozilla.aha.io/features/FENN-239) or do you think we need a
> separate one?

I think we should create a separate one. The linked meta bug has a lot of different things attached to it. This here is a somewhat isolated big task. We might want to tackle the different Android M issues in different releases but there's only one that introduces "runtime support" for all permissions.
Flags: needinfo?(bbermes)
Depends on: 1216529
Depends on: 1216530
Depends on: 1216532
Depends on: 1216535
Depends on: 1216537
Flags: needinfo?(bbermes)
I don't see that a new card was ever created...
Flags: needinfo?(bbermes)
Depends on: 1220671
Sorry for the delay, it has been created now and put into the prioritized list to further discuss.
Flags: needinfo?(bbermes)
Depends on: 1234799
Depends on: 1235347
Depends on: 1235352
QA Contact: flaviu.cos
Depends on: 1240703
Release Note Request (optional, but appreciated)
[Why is this notable]: Significant feature addition especially for paranoid users.
[Suggested wording]: Firefox installations on Android 6.0 and later will delay asking for some permissions until they are needed.
[Links (documentation, blog post, etc)]:
relnote-firefox: --- → ?
No longer depends on: 1181881
No longer depends on: 1184033
Depends on: 1241887
Depends on: 1241907
Is this ready to note for 46 aurora? Is there anything we can link to (if not now, we should have something for when 46 gets to beta and release)
Flags: needinfo?(gpascutto)
In the draft of release notes now for 46 as "Request camera, location, microphone, and storage permissions at runtime".
We should somehow mention that this is about the runtime permissions of Android 6+ and not website permissions. Maybe something like: "Added support for Android 6.0 runtime permissions: Users can grant permissions like Camera, Location, Microphone and Storage to Firefox when needed, not when they install the app".
Flags: needinfo?(gpascutto) → needinfo?(lhenry)
Margaret had suggested not mentioning the specific permissions, and we went with:

On Android 6.0+, Firefox will ask for permissions while the app is running, not when it is installed
Flags: needinfo?(lhenry)
(In reply to Liz Henry (:lizzard) (needinfo? me) from comment #10)
> Margaret had suggested not mentioning the specific permissions, and we went
> with:
> 
> On Android 6.0+, Firefox will ask for permissions while the app is running,
> not when it is installed

Yeah, I think this makes the most sense, since we're not actually changing the permissions that Firefox is asking for, just changing the moment when it asks.
It's probably worth mentioning that most apps simply say something like "Android 6/Marshmallow Compatibility" and leave it at that since the more savvy users will know that means runtime permissions and the less savvy really won't care.
All bugs are closed. Bugs to improve the permission handling are tracked in bug 1239284.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.