Closed Bug 827771 Opened 13 years ago Closed 13 years ago

Installing a privileged packaged app does not list privileged webapi permissions in the settings app perms UI until the perm is requested in the app

Categories

(Firefox OS Graveyard :: Gaia::Settings, defect, P3)

ARM
Gonk (Firefox OS)
defect

Tracking

(blocking-basecamp:+)

VERIFIED FIXED
B2G C4 (2jan on)
blocking-basecamp +

People

(Reporter: jsmith, Assigned: baku)

Details

(Keywords: regression)

Attachments

(1 file)

Build: B2G 18 1/8/2013 Device: Unagi Steps: 1. Go to https://marketplace-dev.allizom.org/app/test-webapi-permissions 2. Install the packaged app 3. Go to settings --> app permissions --> Test WebAPI Permissions Expected: Geolocation, Pictures Storage, Music Storage, Sdcard Storage, Videos Storage, and Contacts should be listed as permissions with "ask." Actual: Only geolocation is listed. Interestingly enough, when any privileged webapi permission is requested in the app and you go back to this UI, the permission will then be listed. Sounds like a bug in the permission installer.
Also a regression - I know I wasn't see this a few days ago.
Keywords: regression
blocking-basecamp: --- → ?
My first guess would be gaia, I'll dig a bit deeper.
Component: General → Gaia::Settings
Assignee: nobody → amarchesini
Attached patch patchSplinter Review
We don't have to check the manifest in order to know if the app has a permission or not. The value is enough. When the value is !== unknown and the permission is explicit, we have to display it in settings.
Attachment #699219 - Flags: review?(etienne)
Attachment #699219 - Flags: review?(etienne) → review+
blocking-basecamp: ? → +
Priority: -- → P3
Target Milestone: --- → B2G C4 (2jan on)
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Keywords: verifyme
QA Contact: jsmith
So I just grabbed the build from https://pvtbuilds.mozilla.org/pub/mozilla.org/b2g/nightly/mozilla-b2g18-unagi/latest/ - this isn't working for me. I'm not even seeing any privileged webapi permissions getting listed, including after the API is used. Am I running the right build?
(In reply to Jason Smith [:jsmith] from comment #6) > So I just grabbed the build from > https://pvtbuilds.mozilla.org/pub/mozilla.org/b2g/nightly/mozilla-b2g18- > unagi/latest/ - this isn't working for me. > > I'm not even seeing any privileged webapi permissions getting listed, > including after the API is used. > > Am I running the right build? Change that. I think I'm running an old build. If I'm wrong, please let me know.
Verified on 1/16 test run.
Status: RESOLVED → VERIFIED
Keywords: verifyme
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: