Closed
Bug 1530465
Opened 6 years ago
Closed 6 years ago
Add support for arbitrary JSON to the schema validator
Categories
(Firefox :: Enterprise Policies, enhancement, P1)
Firefox
Enterprise Policies
Tracking
()
RESOLVED
FIXED
Firefox 67
Tracking | Status | |
---|---|---|
firefox67 | --- | fixed |
People
(Reporter: mkaply, Assigned: mkaply)
References
Details
Attachments
(1 file)
In order to support chrome.storage.managed and other features, the policy engine needs to support arbitrary JSON in policies.
But on Windows, GPO can't do arbitrary JSON, so things will be specified as strings (same as Chrome).
So this new support will introduce a new type called JSON that either parses a string or uses the specified object.
"addon@example.com": {
"policy": "{\"url_list\": [\"mike.kaply.com\"]}"
}
or
"addon@example.com": {
"policy": {
"url_list": ["mike.kaply.com"]
}
}
Will both work for:
"properties": {
"policy" : {
"type": ["JSON"]
}
}
Assignee | ||
Comment 1•6 years ago
|
||
Pushed by mozilla@kaply.com:
https://hg.mozilla.org/integration/autoland/rev/43848f381d6c
Add support for JSON type in schema validator. r=Felipe
Comment 3•6 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox67:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 67
Comment 4•6 years ago
|
||
Hi Mike,
This bug is under our beta triage radar. Is manual testing required for this bug?
Flags: qe-verify?
Flags: needinfo?(mozilla)
Updated•6 years ago
|
QA Contact: emil.ghitta
Assignee | ||
Comment 5•6 years ago
|
||
This bug is under our beta triage radar. Is manual testing required for this bug?
Nope. We have automated testing to cover this. It's an internal thing.
Flags: needinfo?(mozilla)
Comment 6•6 years ago
|
||
Thank you for your answer. I will take out the flag for qe-verify ?
Flags: qe-verify?
You need to log in
before you can comment on or make changes to this bug.
Description
•