From 28a42da9475e95373370b5d37694edc96ea80e1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Tue, 8 Jun 2021 00:19:26 +0200 Subject: [PATCH] status/network: Do not disable on login screen We currently disable all network items on both the lock- and login screen. While it makes sense to be very restrictive on the lock screen, there are some (fringe) use cases for being more permissive on the login screen (like remote home directories only accessible via VPN). There's precedence with the power-off/restart actions to be less restrictive on the login screen, and since we started respecting the `network-control` polkit action, it's possible to restore the old behavior if desired. Part-of: --- js/ui/status/network.js | 1 - 1 file changed, 1 deletion(-) diff --git a/js/ui/status/network.js b/js/ui/status/network.js index 3d336ed7e..b1b11e114 100644 --- a/js/ui/status/network.js +++ b/js/ui/status/network.js @@ -1765,7 +1765,6 @@ class Indicator extends PanelMenu.SystemIndicator { _sessionUpdated() { const sensitive = !Main.sessionMode.isLocked && - !Main.sessionMode.isGreeter && this._configPermission && this._configPermission.allowed; this.menu.setSensitive(sensitive); }