multi-account-containers icon indicating copy to clipboard operation
multi-account-containers copied to clipboard

Disable onboarding from Firefox policies

Open rungitringit opened this issue 2 years ago • 14 comments

Before submitting a bug report

  • [X] I updated to the latest version of Multi-Account Container and tested if I can reproduce the issue
  • [X] I searched for existing reports to see if it hasn't already been reported

Step to reproduce

Hello,

I'm creating a policy for a Linux SOE which will be deployed as a part of an OS image. I love that I can specify some default Containers using https://github.com/mozilla/policy-templates for the Firefox Multi-Account-Containers extension to get my users going in the right direction.

I want users to use Multi-Account-Containers without even noticing.

Actual behavior

Unfortunately users are forced to click through the introductory text in the extension - including ads for the Mozilla VPN they can't use in our corporate environment.

These pages are a barrier to usage of the extension. I really want users to use it by default, but I don't want to have to make them click through a few pages to make the extension usable.

Please add logic to skip the introductory text if the extension is installed via Firefox policies. Thank you!

Expected behavior

Some way to automatically skip all the introductory pages for new users when Multi-Account-containers are install as a part of policies.json

Additional informations

In fact it would be awesome if you could work with the people building the Firefox policy templates to add the option to pre-configure which sites go in which containers, but that's another idea!

Provide a copy of Troubleshooting Information page (optional)

No response

rungitringit avatar Aug 20 '23 23:08 rungitringit

@dannycolin What do you think is the best way to do this?

mkaply avatar Sep 01 '23 13:09 mkaply

@dannycolin What do you think is the best way to do this?

@mkaply In the popup logic, here, we're retriving the onboarding stage key from localStorage. We then load the appropriate panel according to the value of this key.

What we could do is check if there's a similar key in browser.storage.managed and if there's one we use it instead.

The administrator simply needs to add the key to their policies.json has (funnily you wrote it) explained in https://extensionworkshop.com/documentation/enterprise/adding-policy-support-to-your-extension/ :)

dannycolin avatar Sep 05 '23 01:09 dannycolin

That sounds perfect. Do you want to take it on or me? FYI, I'll be out the next three weeks, but I can tee it up for October.

mkaply avatar Sep 05 '23 12:09 mkaply

That sounds perfect. Do you want to take it on or me? FYI, I'll be out the next three weeks, but I can tee it up for October.

I can take it. I'll try to have a patch ready for when you'll be back in october.

dannycolin avatar Sep 05 '23 22:09 dannycolin

In fact it would be awesome if you could work with the people building the Firefox policy templates to add the option to pre-configure which sites go in which containers, but that's another idea!

I would also love that! Should I open a new issue?

DamienCassou avatar Nov 20 '23 11:11 DamienCassou

I would also love that! Should I open a new issue?

We already implemented that:)

https://mozilla.github.io/policy-templates/#containers

mkaply avatar Nov 20 '23 14:11 mkaply

We already implemented that:)

The policy-templates documentation only mentions specifying containers (with name, color and icon). What @rungitringit and me are looking for goes beyond that: We want a way to specify which domains go into which container.

DamienCassou avatar Nov 20 '23 15:11 DamienCassou

@DamienCassou @mkaply It's definitely a different thing. You can open a new ticket for it if you wish.

dannycolin avatar Nov 20 '23 15:11 dannycolin

Doh, completely missed that part. Definitely worth opening a ticket. Hopefully it's straightforward.

mkaply avatar Nov 20 '23 15:11 mkaply

@dannycolin @mkaply @rungitringit: new issue https://github.com/mozilla/multi-account-containers/issues/2601

DamienCassou avatar Nov 21 '23 13:11 DamienCassou

Hi there @dannycolin

I don't like to necrobump, but since the issue isn't marked as solved yet, I'll take my right to ask:

Some of our employees stumbled over the extension and would like to have it in our corporate environment, but as far I've tested, I also had my issues with the introduction and the asking to use sync or mozilla vpn.

I'd like to ask you, what's the status of implementing some configlets for the managed policy, to disable these things? Thank you

VeldoraTheDragon avatar Mar 07 '24 12:03 VeldoraTheDragon

I can work on this issue but I'd need a mozilla developer to review, cut a release and publish it on addons.mozilla.org.

My primary contact at Mozilla doesn't work there anymore so I'd have to find someone else with some free time to help. Until then, this issue is stalled sadly.

dannycolin avatar Mar 18 '24 22:03 dannycolin

Is the introductory stuff in the addon or in Firefox?

mkaply avatar Mar 21 '24 14:03 mkaply

Is the introductory stuff in the addon or in Firefox?

Yes. It's the onboarding in the addon popup.

dannycolin avatar Mar 26 '24 17:03 dannycolin