Open Bug 1888541 Opened 1 year ago Updated 10 months ago

With SanitizeOnShutdown in policies.json it is not possible to set any exceptions

Categories

(Firefox :: Enterprise Policies, enhancement, P4)

Desktop
Windows
enhancement

Tracking

()

Tracking Status
firefox-esr115 --- affected
firefox124 --- affected
firefox125 --- affected
firefox126 --- affected

People

(Reporter: pascal.reintjens, Unassigned)

References

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/115.0

Steps to reproduce:

  1. Created a policies.json file with the following contents:
{
	"policies": {		
		"SanitizeOnShutdown": {
			"Cache": true,
			"Cookies": true,			
			"OfflineApps": true,
			"Locked": true
		}
	}	
}
  1. Subsequently, placed this file within the installation directory: C:\Program Files\Mozilla Firefox\distribution\policies.json
  2. restarted the browser and went to Settings > Privacy & Security > Cookie and Site Data

Actual results:

As described in Bug 1888485 the Delete cookies and site data when Firefox is closed gets checked when setting the SanitizeOnShutdown policy as above.
But it is not possible to set any exception from the cleanup via this policy.
Instead, the user can click on Manage exceptions... and add an exception himself.

Expected results:

There should be an option in the SanitizeOnShutdown policy to specify exceptions of the deletion.
Additionally it would be good to have an option like "lock-exceptions" so that the user cannot set exceptions himself via Manage exceptions....

Summary: When SanitizeOnShutdown in policies.json it is not possible to set any exceptions → With SanitizeOnShutdown in policies.json it is not possible to set any exceptions

The Bugbug bot thinks this bug should belong to the 'Firefox::Enterprise Policies' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Enterprise Policies
See Also: → 1888451

I will confirm this report as an enhancement. I do not know of a method to add exceptions through the SanitizeOnShutdown policy.

Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Unspecified → Windows
Hardware: Unspecified → Desktop
Severity: -- → N/A
Priority: -- → P4
You need to log in before you can comment on or make changes to this bug.