• Michael Giuffrida's avatar
    Add Supervised Users pref for extension permissions · 77681878
    Michael Giuffrida authored
    Adds a pref for Supervised Users to determine whether the user is
    allowed to grant permissions to extensions (and, by extension, whether
    the user is allowed to install extensions with parental approval).
    
    The pref is controlled by Sync settings for the supervised user,
    ultimately determined by the custodian checking the "Allow sites and
    apps to ask for permissions" checkbox in the Chrome family dashboard.
    
    For now, we will rely on the fact that this checkbox also sets the
    GeolocationDisabled setting. In the future, the Kids Management server
    should send a separate setting for extension permissions; that will give
    us flexibility in the future to break the checkbox into multiple
    settings.
    
    Bug: 1018956
    Change-Id: Ifda14018dc7f4a018b493159c6e80b00c2e18b7a
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1885216Reviewed-by: default avatarDan S <danan@chromium.org>
    Commit-Queue: Michael Giuffrida <michaelpg@chromium.org>
    Auto-Submit: Michael Giuffrida <michaelpg@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#710991}
    77681878
pref_names.cc 128 KB