Limit Bugsoft Connect to your own Bugsoft Portal
With the policy portal_origins, Bugsoft Connect only works on your own portals and asks employees nothing.
In short. This policy is optional. Bugsoft Connect works without it. Set the policy
portal_origins only if IT wants to decide on which portal addresses Bugsoft Connect works. Set it once for
every extension ID you use.
Why use the policy
Bugsoft Connect works on every Bugsoft Portal by itself. The first time on a new address, it asks the employee once,
in its own window: "Is this your organisation's Bugsoft Portal?". If IT wants to decide this, set the policy
portal_origins. Then:
- Bugsoft Connect only works on those addresses, for example
https://apps.klaverveld.example; - Bugsoft Connect no longer asks the question: the policy decides;
- the page of Bugsoft Connect shows "Set up by your organisation: only on …".
One policy for each extension ID
A policy belongs to one extension ID. Bugsoft Connect from the Chrome Web Store, from Edge Add-ons and the own
package of your server for Edge and Chrome each have their own ID. A policy for the own package does
not limit an extension from a store. So set the policy for every ID you use. In Firefox the ID is
always connect@bugsoft.eu, from Firefox Add-ons and as the own package.
You find the IDs and the value in Admin › Settings › Bugsoft Connect, under Only on this Bugsoft Portal? (policy, usually not needed).
The value (JSON) looks like this:
{"portal_origins": ["https://apps.klaverveld.example"]}
Only for a test or demo on http://: add "require_https": false.
Windows (Edge and Chrome)
Edge and Chrome read the policy from the registry, per ID. Roll it out with an Intune platform script (PowerShell, 64-bit, run as system):
$id = '<ID of the extension>'
foreach ($base in @('HKLM:\SOFTWARE\Policies\Microsoft\Edge', 'HKLM:\SOFTWARE\Policies\Google\Chrome')) {
$key = "$base\3rdparty\extensions\$id\policy"
New-Item -Path "$key\portal_origins" -Force | Out-Null
New-ItemProperty -Path "$key\portal_origins" -Name '1' -PropertyType String -Value 'https://apps.klaverveld.example' -Force | Out-Null
}
A list is a subkey with numbered values 1, 2, … (one for each portal address).
macOS
Use a configuration profile with the preference domain com.microsoft.Edge.extensions.<ID> or
com.google.Chrome.extensions.<ID> and the key portal_origins (a list of addresses).
Chromebooks (Google Admin console)
Go to Apps & extensions › Users & browsers, choose Bugsoft Connect, open Policy for extensions and paste the JSON value.
Firefox
Put this in policies.json. On Windows that is in the distribution folder next to
firefox.exe. You can also set the same value in the Firefox ADMX. The add-on ID of Bugsoft Connect is
connect@bugsoft.eu.
{"policies": {"3rdparty": {"Extensions": {"connect@bugsoft.eu": {"portal_origins": ["https://apps.klaverveld.example"]}}}}}
Check that it works
On a workstation, open edge://policy, chrome://policy or about:policies and look
under the extension ID. The page of Bugsoft Connect shows "Set up by your organisation: only on …".
Stuck? See Questions and problems or contact Bugsoft at ugurs156@gmail.com.