Closed
Bug 774716
Opened 12 years ago
Closed 7 years ago
[meta] Unify PermissionManager usage
Categories
(Core :: DOM: Device Interfaces, defect)
Tracking
()
RESOLVED
INCOMPLETE
People
(Reporter: gwagner, Assigned: gwagner)
References
Details
(Keywords: meta)
Currently we are using several patterns to test permissions (whitelist-check, permission-database, no checks).
We should unify the checks to only go into the permissionDB via the permissionManager.
Basically this is the bug to change up the various security-check hacks that we have to making callers use nsIPermissionManager?
Blocks: basecamp-security
Assignee | ||
Comment 2•12 years ago
|
||
(In reply to Jonas Sicking (:sicking) from comment #1)
> Basically this is the bug to change up the various security-check hacks that
> we have to making callers use nsIPermissionManager?
Yes I want to change everything to nsIPermissionManager. I don't think I can do this with a single bug because it touches every single API so I will make this bug a meta bug and handle each API individually with its own bug.
Comment 3•12 years ago
|
||
(In reply to Gregor Wagner [:gwagner] from comment #2)
> (In reply to Jonas Sicking (:sicking) from comment #1)
> > Basically this is the bug to change up the various security-check hacks that
> > we have to making callers use nsIPermissionManager?
>
> Yes I want to change everything to nsIPermissionManager. I don't think I can
> do this with a single bug because it touches every single API so I will make
> this bug a meta bug and handle each API individually with its own bug.
You could also attach various patches to this bug, one for each API. It might be simpler to manage.
Assignee | ||
Comment 4•12 years ago
|
||
(In reply to Mounir Lamouri (:mounir) from comment #3)
> (In reply to Gregor Wagner [:gwagner] from comment #2)
> > (In reply to Jonas Sicking (:sicking) from comment #1)
> > > Basically this is the bug to change up the various security-check hacks that
> > > we have to making callers use nsIPermissionManager?
> >
> > Yes I want to change everything to nsIPermissionManager. I don't think I can
> > do this with a single bug because it touches every single API so I will make
> > this bug a meta bug and handle each API individually with its own bug.
>
> You could also attach various patches to this bug, one for each API. It
> might be simpler to manage.
Alright. I just created one for the Contacts API. But I will post all others in here.
blocking-basecamp: --- → ?
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → anygregor
Comment 5•12 years ago
|
||
Is this a meta bug?
Comment 6•12 years ago
|
||
(In reply to Gregor Wagner [:gwagner] from comment #4)
> > You could also attach various patches to this bug, one for each API. It
> > might be simpler to manage.
>
> Alright. I just created one for the Contacts API. But I will post all others
> in here.
I added some dependencies for the bugs we already had on file. At this point this bug might be considered a tracking bug or close to that.
Updated•12 years ago
|
Summary: Unify PermissionManager usage → [meta] Unify PermissionManager usage
Updated•12 years ago
|
blocking-basecamp: --- → ?
Updated•12 years ago
|
blocking-basecamp: ? → ---
Updated•12 years ago
|
Blocks: basecamp-permissions
Updated•12 years ago
|
No longer blocks: basecamp-security
Comment 7•7 years ago
|
||
More mass-incompleting of FxOS bugs in the Device Interfaces component.
Please update and let me know if any of these are still valid.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•