forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Child users: Ask for parent permission or display error from launcher
Currently, if an app is disabled pending custodian approval, and the supervised user tries to open it through the launcher, nothing happens. This CL fixes this behavior by either asking for parent permission or displaying an error dialog. If the parent has the "Permissions for sites, apps and extensions" toggle enabled, then launching the app will ask for parent permission. Otherwise, the user will see an error dialog. This CL also refactors some common logic between the ManagementAPI and ExtensionEnableFlow into the SupervisedUserExtensionsDelegate for determining which dialog to show when enabling extensions for supervised users. Bug: 1079415,1071255 Change-Id: I585238db5e9a9de96849b7a15dda120b13339b68 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2238408 Commit-Queue: Toby Huang <tobyhuang@chromium.org> Reviewed-by: Scott Violet <sky@chromium.org> Reviewed-by: Dan S <danan@chromium.org> Reviewed-by: Devlin <rdevlin.cronin@chromium.org> Reviewed-by: Yilkal Abe <yilkal@chromium.org> Reviewed-by: Nancy Wang <nancylingwang@chromium.org> Cr-Commit-Position: refs/heads/master@{#785958}
- Loading branch information
Toby Huang
authored and
Commit Bot
committed
Jul 7, 2020
1 parent
2da1460
commit 349247d
Showing
24 changed files
with
603 additions
and
408 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.