Closed
Bug 1213921
Opened 9 years ago
Closed 9 years ago
Tablet: Secondary user accounts are treated as restricted profile
Categories
(Firefox for Android Graveyard :: Profile Handling, defect)
Tracking
(firefox41 unaffected, firefox42 verified, firefox43 verified, firefox44 verified)
VERIFIED
FIXED
Firefox 44
Tracking | Status | |
---|---|---|
firefox41 | --- | unaffected |
firefox42 | --- | verified |
firefox43 | --- | verified |
firefox44 | --- | verified |
People
(Reporter: sebastian, Assigned: sebastian)
References
Details
Attachments
(1 file)
1.81 KB,
patch
|
ally
:
review+
Sylvestre
:
approval-mozilla-aurora+
Sylvestre
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
Reported by "kkus" on IRC. A secondary account created on a tablet is erroneously treated as "restricted profile". Thus all default restrictions are enforced for this user (e.g. No private browsing, no add-ons, ..).
Assignee | ||
Comment 1•9 years ago
|
||
A secondary user has a single active restriction and this breaks our "restricted profile" detection:
> no_sms = true
Assignee | ||
Comment 2•9 years ago
|
||
We tweaked this part of the code several times. After further investigation I think the only safe way to detect a restricted profile is to check only the app restriction bundle. This will only contain restrictions if we injected them via the broadcast receiver during profile setup. The user bundle can basically contain whatever and is no clear indicator (On Android M: no_record_audio=false, On a secondary account: no_sms=true).
Assignee | ||
Updated•9 years ago
|
status-firefox44:
--- → affected
Assignee | ||
Comment 3•9 years ago
|
||
Tested this on Android M/6.0. As well as on a tablet with normal, secondary and restricted user. This seems to work with all variations now.
Attachment #8673025 -
Flags: review?(ally)
Comment 4•9 years ago
|
||
Comment on attachment 8673025 [details] [diff] [review] 1213921-restricted-profile.patch Review of attachment 8673025 [details] [diff] [review]: ----------------------------------------------------------------- I would like to hear more about your investigation, but that can wait until we've patched this bug.
Attachment #8673025 -
Flags: review?(ally) → review+
Comment 6•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/0d6ceca76006
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 44
Assignee | ||
Comment 7•9 years ago
|
||
Comment on attachment 8673025 [details] [diff] [review] 1213921-restricted-profile.patch Approval Request Comment [Feature/regressing bug #]: Family friendly browsing (Support for "restricted profiles") - Project "KidFox". New feature in Firefox for Android 42. [User impact if declined]: Secondary users on tablets and phone are treated as "restricted profile". Therefore all default restrictions for family friendly browsing will be enforced (No private browsing, No way to clear history, No add-ons, ..) [Describe test coverage new/current, TreeHerder]: Local testing on different devices: Normal profile, Guest profile and Restricted profile. There's no UI test support for restricted profiles yet. [Risks and why]: Low - "Restricted profile" detection has been tested with all known profile types. [String/UUID change made/needed]: -
Attachment #8673025 -
Flags: approval-mozilla-beta?
Attachment #8673025 -
Flags: approval-mozilla-aurora?
Updated•9 years ago
|
Flags: qe-verify+
Comment 8•9 years ago
|
||
Comment on attachment 8673025 [details] [diff] [review] 1213921-restricted-profile.patch Sure, taking it. Should be in 42 beta 8.
Attachment #8673025 -
Flags: approval-mozilla-beta?
Attachment #8673025 -
Flags: approval-mozilla-beta+
Attachment #8673025 -
Flags: approval-mozilla-aurora?
Attachment #8673025 -
Flags: approval-mozilla-aurora+
Comment 11•9 years ago
|
||
Verified as fixed on Firefox 42 Beta 8, latest Aurora and Nightly
Status: RESOLVED → VERIFIED
Updated•6 years ago
|
Flags: qe-verify+
Updated•3 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•