Closed
Bug 826531
Opened 12 years ago
Closed 12 years ago
Provide a way for the Gaia Browser App to enumerate page permissions
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
WONTFIX
| blocking-basecamp | - |
People
(Reporter: pauljt, Unassigned)
Details
Bug 826528 specifies a feature where users can modify/clear remembered permission choices for web pages loaded in the browser app. From discussions on IRC, this may need a platform API to expose these permissions to the browser.
Can we give the browser "permissions" permission so that it could manage the permissions? This sounds super dangerous though - would it be better if we provided a way for the browser to only manage the permissions of the web pages, and not apps?
I'm not sure if we should let the *browser* enumerate or change permissions. We certainly could do that though we need to restrict access to only *remove* remembered permissions, or set them to "deny". We can't let the browser set permissions to "allow".
And the browser must only be allowed to set permissions for pages with the browserFlag=true and the appid=<appid of browser app>.
blocking-basecamp: --- → ?
| Reporter | ||
Comment 2•12 years ago
|
||
As per ben's comment in bug 826528, we also need to think about bookmarked pages, and everything.me
I am not sure what app these run under: system and homescreen respectively maybe?
They both run under the system app.
I think they definitely should be configured through the settings app in the same place where you configure app permissions. We should make the experience of homescreen-bookmarked pages and everything.me apps as much like "normal" apps as possible.
Comment 4•12 years ago
|
||
PermissionSettings could work in two modes with "permissions" and with "browser-permissions". If the app has the later permission, it will be allowed to deny or reset any permission that applies to its own app (aManifestURL is its own manifest) and aBrowserFlag will have to be true. In addition, *maybe* we could allow the app to allow some permissions if the app has the permission granted.
Component: DOM: Core & HTML → DOM: Mozilla Extensions
OS: Mac OS X → All
Hardware: x86 → All
Comment 5•12 years ago
|
||
It's too late in the v1 schedule for this type of feature work. In triage we commented on the ability to clear this data using the existing "Clear cookies and stored data". If this option doesn't clear permissions can we modify it to also clear permissions for v1 in order to give the user the ability to clear their permissions with minimal change?
blocking-basecamp: ? → -
Clearing private data should clear permissions already.
Comment 7•12 years ago
|
||
(In reply to Jonas Sicking (:sicking) from comment #6)
> Clearing private data should clear permissions already.
No. Permissions are only cleared when an application is uninstalled. Changing that behaviour would be trivial though.
Yeah. Maybe we should hook that up for now as a stop-gap until we have a proper solution which allows browser apps to have more control over permissions in their browser-cookie-jar.
| Reporter | ||
Comment 9•12 years ago
|
||
That works for the Browser, but what about pages which are loaded as a child of the System app (bookmarks, everything.me) ? I just tested this, and currently the browser only clears its own cookies, not cookies for bookmarked pages.
So I think there are two things to do here:
1. Make the browser "clear private data" button forget remembered permissions
2. Add code to clear cookies/data/remembered permissions when a bookmark/everything.me app is removed from the homescreen
Thoughts?
| Reporter | ||
Comment 10•12 years ago
|
||
So I think this bug should be for "Make the browser "clear private data" button forget remembered permissions" and I will move point to bug 826528. And re-nom'ing both with this reduced scope.
blocking-basecamp: - → ?
Summary: Provide a way for the Gaia Browser App to enumerate page permissions. → Clear remembered permissions from browser when clearing private data
Bug 827050 already covers what you morphed this bug into. Since that bug already is +'ed and has a patch, I'm minusing this bug and morphing it back to what it was originally filed on.
In general, don't morph bugs since they get very confusing since early comments don't apply to the new morphed meaning.
It might even be worth WONTFIXing this bug and figuring out a comprehensive solution to do for v2
blocking-basecamp: ? → -
Summary: Clear remembered permissions from browser when clearing private data → Provide a way for the Gaia Browser App to enumerate page permissions
| Reporter | ||
Comment 12•12 years ago
|
||
Ah ok, sorry didnt know that, sounds like a plan to me.
| Assignee | ||
Updated•12 years ago
|
Component: DOM: Mozilla Extensions → DOM
| Reporter | ||
Comment 13•12 years ago
|
||
as per c11.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WONTFIX
| Assignee | ||
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•