Commit Graph

13 Commits

Author SHA1 Message Date
Sebastian Kaspari
511910b72c Bug 1199596 - Only install "Parental Controls Theme" for restricted profiles and not guest profiles. r=ally
From browser.js's point of view there's no difference between restricted and guest profiles. Both use the
parental controls API. So there are only two "simple" solutions here:

* 1) Add a method to nsIParentalControlsService to determine whether the current profiles is a restricted or
  a guest profile (Something like isGuest()). But then every platform using this interface would require
  to at least implement a stub for this method.

* 2) Add a new restriction that controls installing the theme.

This patch implements option 2. While this restriction is not of much use besides deciding whether we need
to install a specialized theme (DISALLOW_DEFAULT_THEME), it still offers the most flexibility. In a
follow-up bug we could decide to make the restriction configurable by the device admin (requires localized
strings).
2015-08-31 18:09:42 +02:00
Sebastian Kaspari
74e678fe02 Bug 1189414 - Restricted Profiles: Clean up missing and unneeded restrictions. r=ally
* Synchronize nsIParentalControlsService.idl and Restriction.java
* Do not hide 'tools' menu but menu items of disabled features
* Hiding 'Report site issue' should not be configurable
* Restricted profiles: DISALLOW_INSTALL_APPS is a system restriction and should not be configurable
* RestrictedProfileConfiguration: Use AboutPages
2015-08-06 10:51:45 +02:00
Sebastian Kaspari
7bfd53867a Bug 1125977 - Restricted profiles: Hide setting to set master password. r=ally 2015-07-31 10:19:46 +02:00
Sebastian Kaspari
6a2b2902d8 Bug 1188905 - Restricted profiles: Prevent clearing history. r=margaret 2015-07-31 09:59:01 +02:00
Sebastian Kaspari
3e5c064a11 Bug 1125975 - Restricted profiles: Hide display settings. r=margaret 2015-07-31 09:45:40 +02:00
Sebastian Kaspari
758c24da59 Bug 1125309 - Restricted profiles: Hide all Location Services features and related UI. r=margaret 2015-07-30 20:18:03 +02:00
Sebastian Kaspari
a098dd9572 Bug 1125290 - Hide private browsing support and all related UI. r=margaret 2015-07-30 19:55:18 +02:00
Sebastian Kaspari
e81f2f204f Bug 1125312 - Bug 1125313 - Restriced profiles: Hide "Tools" and "Report Site Issue" menu items. r=ally 2015-07-06 17:08:06 +02:00
Wes Johnston
a485b37dba Bug 1074496 - "Disable import from Android in Guest mode" [r=liuche] 2014-09-29 16:19:00 -07:00
Nick Alexander
bd273317bd Bug 1064177 - Part 1: Add RestrictedProfiles.DISALLOW_MODIFY_ACCOUNTS. r=wesj
This corresponds to UserManager.DISALLOW_MODIFY_ACCOUNTS.
2014-09-26 11:44:55 -07:00
Wes Johnston
6ba11ae36c Bug 1058150 - Use restricted profiles for guest mode. r=mfinkle 2014-09-09 15:08:37 -07:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Mitchell Field
8969bddd5d Bug 595513 - Reduce makefile recursion in toolkit. r=khuey 2011-03-08 14:58:46 +11:00