Closed
Bug 346498
Opened 18 years ago
Closed 18 years ago
Only allow hidden and locked for restricted locations and appManaged for app-global locations
Categories
(Toolkit :: Add-ons Manager, defect)
Toolkit
Add-ons Manager
Tracking
()
RESOLVED
FIXED
People
(Reporter: robert.strong.bugs, Assigned: robert.strong.bugs)
Details
(Keywords: fixed1.8.1)
Attachments
(1 file, 1 obsolete file)
2.29 KB,
patch
|
benjamin
:
review+
mtschrep
:
approval1.8.1+
|
Details | Diff | Splinter Review |
Patch coming up.
Assignee | ||
Comment 1•18 years ago
|
||
This is just a simple patch for a little added protection by making it a requirement in the datasource itself for an extension to always be installed into appdir/extensions for the hidden and locked attributes to be honored.
Attachment #231278 -
Flags: review?(benjamin)
Comment 2•18 years ago
|
||
Comment on attachment 231278 [details] [diff] [review]
patch
I'm not sure I understand... will this make em:hidden and em:locked never return true, or does a null return fallback to the real database?
Assignee | ||
Comment 3•18 years ago
|
||
Comment on attachment 231278 [details] [diff] [review]
patch
returning null will return the value from the real rdf. I think we should probably do the same for appManaged and I'll submit another patch.
Attachment #231278 -
Flags: review?(benjamin)
Assignee | ||
Comment 4•18 years ago
|
||
Attachment #231278 -
Attachment is obsolete: true
Assignee | ||
Updated•18 years ago
|
Attachment #237387 -
Flags: review?(benjamin)
Updated•18 years ago
|
Attachment #237387 -
Flags: review?(benjamin) → review+
Assignee | ||
Comment 5•18 years ago
|
||
Checked in to trunk
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•18 years ago
|
Summary: Only allow hidden and locked for app-global extensions → Only allow hidden and locked for restricted locations and appManaged for app-global locations
Assignee | ||
Comment 6•18 years ago
|
||
Comment on attachment 237387 [details] [diff] [review]
patch
Drivers, this prevents an add-on from hiding or locking itself by modifying the extensions datasource and adding em:hidden / em:locked to itself. Though this isn't critical I'd like to get it in 1.8.1 so these capabilities aren't expected to work in the future unless the add-on is installed into a restricted location.
Attachment #237387 -
Flags: approval1.8.1?
Comment 7•18 years ago
|
||
Comment on attachment 237387 [details] [diff] [review]
patch
a=schrep for drivers.
Attachment #237387 -
Flags: approval1.8.1? → approval1.8.1+
Updated•16 years ago
|
Product: Firefox → Toolkit
You need to log in
before you can comment on or make changes to this bug.
Description
•