[Mozilla Enterprise] installing addons

Maxime Accadia maxime.accadia at univ-grenoble-alpes.fr
Thu Nov 26 13:14:49 UTC 2020


Hi, there is a policy that seems to be what you need : [ https://github.com/mozilla/policy-templates/blob/master/README.md#installaddonspermission | https://github.com/mozilla/policy-templates/blob/master/README.md#installaddonspermission ] 


Maxime 



De: "Tom Westley" <t.westley at staysure.co.uk> 
À: "enterprise" <enterprise at mozilla.org> 
Envoyé: Mercredi 25 Novembre 2020 18:04:24 
Objet: Re: [Mozilla Enterprise] installing addons 

Thank you for your swift response and help. 




Unfortunately It still doesn't work :( 

Nothing appears to be happening but when I try to do it manually I get this message :- 




"Firefox prevented this site from asking you to install software on your computer" 


I would guess that it has to be specifically allowed 

my policy is: - 

"ExtensionSettings": { 
"*": { 
"allowed_types": [ 
"extension" 
], 
"blocked_install_message": "ooops", 
"install_sources": [ 
"https://download.my1login.com/deployment/My1LoginSSOConnector/Firefox/my1login_5.2.2.1.xpi" 
], 
"installation_mode": "allowed" 
}, 
"09bb4618-94d1-4f5c-ba1f-6cf99054af19": { 
"install_url": "https://download.my1login.com/deployment/My1LoginSSOConnector/Firefox/my1login_5.2.2.1.xpi", 
"installation_mode": "force_installed" 
} 
}, 
"ExtensionUpdate": true, 
"Extensions": { 
"Install": [ 
"https://download.my1login.com/deployment/My1LoginSSOConnector/Firefox/my1login_5.2.2.1.xpi" 
] 
}, 

Once again, any help is appreciated. 

Tom 




From: Maxime Accadia <maxime.accadia at univ-grenoble-alpes.fr> 
Sent: 25 November 2020 13:23 
To: Tom Westley 
Cc: enterprise 
Subject: Re: [Mozilla Enterprise] installing addons 
This email is from an external source. 

    * If you do not know the sender or have not been expecting this message do not open any attachments or click on any links. 
    * Please forward any suspicious emails to phish at staysure.co.uk and the sender will be flagged. 
Hi, 

Here is an example of policies.json that install two extensions : 

--- 
{ 
"policies": { 
"Extensions": { 
"Install": [ 
" [ https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi | https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi ] ", 
" [ https://addons.mozilla.org/firefox/downloads/latest/grammalecte-fr/latest.xpi | https://addons.mozilla.org/firefox/downloads/latest/grammalecte-fr/latest.xpi ] " 
] 
} 
} 
} 
--- 

You can check wether policies are taken into account by going to about:policies. Take care to have a valid JSON, a missing or extra coma can break things (use [ https://jsonlint.com/ | 
https://jsonlint.com/ ] for example). 

As you already have a policies.json, you only need to insert what I have put in bold in it. 

Maxime 



De: "Tom Westley" <t.westley at staysure.co.uk> 
À: "enterprise" <enterprise at mozilla.org> 
Envoyé: Mercredi 25 Novembre 2020 13:25:26 
Objet: [Mozilla Enterprise] installing addons 






Hi, 




I have been tasked with installing an addon to all of our Firefox 68.4.1 esr equiped machines. 




We currently use polices.json to control FF and I am not having a lot of success using the information supplied here: - 




[ https://github.com/mozilla/policy-templates#extensions | https://github.com/mozilla/policy-templates#extensions ] 





Has anyone done it this way? If so can you share how you did it please? 




Many thanks 




Tom 

Tom Westley 
IT Support Team Manager 

T 01604552882 

E t.westley at staysure.co.uk 

[ http://www.staysure.co.uk/ ] 



This message is private and confidential. If you have received this message in error, please notify us and remove it from your system. 
Staysure is a trading name of TICORP Limited. Staysure Travel Insurance is arranged by TICORP Limited which is registered in Gibraltar company number 111526. Registered office: First Floor, Grand Ocean Plaza, Ocean Village, Gibraltar 
TICORP Limited is licensed and regulated by the Gibraltar Financial Services Commission number FSC1238B and trades into the UK on a freedom of services basis, FCA FRN 663617. 
_______________________________________________ 
Enterprise mailing list 
Enterprise at mozilla.org 
[ https://mail.mozilla.org/listinfo/enterprise | https://mail.mozilla.org/listinfo/enterprise ] 

To unsubscribe from this list, please visit [ https://mail.mozilla.org/listinfo/enterprise | 
https://mail.mozilla.org/listinfo/enterprise ] or send an email to enterprise-request at mozilla.org with a subject of "unsubscribe" 


_______________________________________________ 
Enterprise mailing list 
Enterprise at mozilla.org 
https://mail.mozilla.org/listinfo/enterprise 

To unsubscribe from this list, please visit https://mail.mozilla.org/listinfo/enterprise or send an email to enterprise-request at mozilla.org with a subject of "unsubscribe" 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/enterprise/attachments/20201126/fcb4093b/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0.jpg
Type: image/jpeg
Size: 917 bytes
Desc: 0.jpg
URL: <http://mail.mozilla.org/pipermail/enterprise/attachments/20201126/fcb4093b/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0.jpg
Type: image/jpeg
Size: 11103 bytes
Desc: 0.jpg
URL: <http://mail.mozilla.org/pipermail/enterprise/attachments/20201126/fcb4093b/attachment-0001.jpg>


More information about the Enterprise mailing list