Open Bug 2088425 Opened 25 days ago Updated 24 days ago

Should OS-level indexing be exposed / allowed on Thunderbird Enterprise?

Categories

(Enterprise Products :: Thunderbird, task)

Tracking

(Not tracked)

People

(Reporter: gerard-majax, Unassigned)

References

(Blocks 1 open bug)

Details

In bug 2075131 we were hitting a test failure because mail.spotlight.firstRunDone was not set due to us skipping first run.

For now I'm forcing it to false, but this means this likely blocks users from enabling Search Integration feature. Is this something we want to handle or block ? Likely requires a product decision here (and likely not urgent).

(blocking `thunderbird-client-poc even though this is not really correct, but to make sure it's tracked)

Flags: needinfo?(toby)
Flags: needinfo?(rtestard)

I imagine that once we encrypt data, OS-level indexing will become difficult or impractical so my opinion would be to disable that and prevent it for the Enterprise product.
Adding @aleca for visibility and his POV.

Flags: needinfo?(toby) → needinfo?(alessandro)

It's not just about prefs, but also about UI settings elements

Thanks for the ping.
So we have 2 search integration pref, one for macOS and one for Windows.
https://searchfox.org/comm-central/rev/e4d313bd36c660b19ebe9e19d7c3b72d9b611bd0/mail/app/profile/all-thunderbird.js#648-657

We already have a mechanism in place to disable the integration and hide the UI: https://searchfox.org/comm-central/rev/e4d313bd36c660b19ebe9e19d7c3b72d9b611bd0/mail/components/preferences/general.js#256-282

And these are the modules that handle that: https://searchfox.org/comm-central/search?q=SearchIntegration.sys.mjs&path=&case=false&regexp=false

Here is where that pref gets updated based on the OS after the first run: https://searchfox.org/comm-central/rev/e4d313bd36c660b19ebe9e19d7c3b72d9b611bd0/mail/components/search/SearchSupport.sys.mjs#121-123

I guess we should implement an Enterprise Policy to let the admin decide if they want to integrate OS search and indexing. I wonder if not everyone will have encrypted data so they might find it useful.

Nonetheless, whether we add a pref or not, we should ensure that if we skip the first run on purpose that pref gets set with a default false value.

Flags: needinfo?(alessandro)

I feel OK disabling OS-level search integration in enterprise builds for now and suggest we reconsider if customers raise this as an issue. I feel it's most likely encryption will bring way more value than OS search which I assume is very low adoption.

Flags: needinfo?(rtestard)
You need to log in before you can comment on or make changes to this bug.