Closed Bug 1433290 Opened 6 years ago Closed 6 years ago

Remove Block parameter for InstallAddons and Popup policies

Categories

(Firefox :: Enterprise Policies, defect)

60 Branch
defect
Not set
normal

Tracking

()

VERIFIED FIXED
Firefox 60
Tracking Status
firefox60 --- verified

People

(Reporter: Abe_LV, Assigned: Felipe)

References

Details

Attachments

(1 file)

Steps to reproduce:
1. Use latest nightly that have patch from Bug 1428922
2. Set policies.json as:
  {
  "policies": {
    "install_addons": {
      "allow": [      
     
      ],
      "block": [            
           "https://duckduckgo.com",
      
      ]
    }
  }
}

3. Go to  https://duckduckgo.com/ and click "DuckDuckGo to Firefox"

Expected Result:
It should not install the addon while a blockpolicy is in use.

Actual Result:
It installs the addon.
Flags: needinfo?(felipc)
Correction
Remove the comma after the URL in the policy (in comment 0).
Or use the following.
{
  "policies": {
    "install_addons": {
      "allow": [      
     
      ],
      "block": [            
           "https://duckduckgo.com"
      
      ]
    }
  }
}
Blocks: 1428922
Summary: Install addon policy does not block addons → Install addon permission policy does not block addon
Note: this bug will be resolved before the engine rolls out, by removing support for the "Block" part of this policy, since it doesn't make sense in our UI.  Only a preset "Allow" for installing add-ons make sense.
Flags: needinfo?(felipc)
Assignee: nobody → felipc
Status: NEW → ASSIGNED
Summary: Install addon permission policy does not block addon → Remove Block parameter for InstallAddons and Popup policies
Comment on attachment 8954143 [details]
Bug 1433290 - Remove Block parameter for InstallAddons and Popup policies.

https://reviewboard.mozilla.org/r/223292/#review229338
Attachment #8954143 - Flags: review?(ksteuber) → review+
Pushed by felipc@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/1d5ae4b0b826
Remove Block parameter for InstallAddons and Popup policies. r=bytesized
https://hg.mozilla.org/mozilla-central/rev/1d5ae4b0b826
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 60
This is just a code change.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: