gnome-shell/js/ui/status
Christian Kellner 1f864c905d thunderbolt: only try to enroll if we are allowed
Check via Polkit if the current user is actually allowed to enroll
devices before trying to do so. If not, show a notification that
explains that a system administrator needs to authorize the device.
Clicking on the notification will guide the user to the thunderbolt
control center panel. Before this patch, when the current user was
not allowed to enroll a device a polkit dialog would pop up which
is confusing because it did not contain any information why it was
shown. This patch implements the behavior as designed (see [1],
section "Multi-user environments").

[1] https://wiki.gnome.org/Design/Whiteboards/ThunderboltAccess
2019-01-18 22:10:23 +01:00
..
accessibility.js cleanup: Use Function.prototype.bind() 2018-02-21 13:55:02 +00:00
bluetooth.js dbus: Move all interface descriptions into the resource 2018-09-17 07:34:49 +00:00
brightness.js dbus: Move all interface descriptions into the resource 2018-09-17 07:34:49 +00:00
keyboard.js keyboard: Do not call KeyboardManager.holdKeyboard() with set-content-type 2018-11-09 10:55:30 +00:00
location.js dbus: Move all interface descriptions into the resource 2018-09-17 07:34:49 +00:00
network.js animation: Add dedicated Spinner class 2019-01-16 17:44:42 +00:00
nightLight.js dbus: Move all interface descriptions into the resource 2018-09-17 07:34:49 +00:00
power.js power: Label the PENDING_CHARGE state as "Not Charging" 2018-11-14 13:51:26 -08:00
remoteAccess.js remoteAccess: Make indicator orange 2018-07-27 18:10:35 +02:00
rfkill.js dbus: Move all interface descriptions into the resource 2018-09-17 07:34:49 +00:00
screencast.js cleanup: Use Function.prototype.bind() 2018-02-21 13:55:02 +00:00
system.js altSwitcher: Fix error when all alternatives are disabled 2018-11-17 12:18:23 +00:00
thunderbolt.js thunderbolt: only try to enroll if we are allowed 2019-01-18 22:10:23 +01:00
volume.js volume: Port to MetaSoundPlayer for emitting sounds 2019-01-09 23:09:18 +00:00