gnome-shell/js/ui/components
Joaquim Rocha 903036e244 polkitAgent: Use dialog as confirmation when the user has no password
When a user has no password and a polkit authentication is started,
instead of blindly initiating the admin session, the regular
"Authentication Requested" dialog is shown (but without the password
entry). This means that the user's admin session is only effectively
started after the user chooses to proceed with the authentication which
provides an extra confirmation step that can be vital for critical
tasks.

Ideally we should use a different wording than "authentication" when the
user has no password set, and use "confirmation" instead. However polkit
already sends the requests with such messages (e.g. "Authentication is
required to configure software repositories"), and it's important to
show those to the user, so this patch keeps the regular wording.
2018-02-14 17:29:33 +01:00
..
__init__.js Define classes with 'var' instead of 'const' 2017-07-18 21:52:06 +02:00
automountManager.js Define externally accessible contants with 'var' instead of 'const' 2017-07-18 21:52:06 +02:00
autorunManager.js autorunManager: Avoid access to non-existent array element 2017-09-19 20:07:21 +02:00
keyring.js Define externally accessible contants with 'var' instead of 'const' 2017-07-18 21:52:06 +02:00
networkAgent.js networkAgent: Pick up VPN service dir from pkg-config 2018-01-22 08:44:19 +01:00
polkitAgent.js polkitAgent: Use dialog as confirmation when the user has no password 2018-02-14 17:29:33 +01:00
telepathyClient.js Define externally accessible contants with 'var' instead of 'const' 2017-07-18 21:52:06 +02:00