Commits on Source (11)
-
Zander Brown authoredbd70723d
-
Trần Ngọc Quân authored27e91400
-
Efstathios Iosifidis authoredf4328865
-
Boyuan Yang authoredb57cc08b
-
Yosef Or Boczko authorede907c927
-
Yaron Shahrabani authored4b86d804
-
Nathan Follens authored7d2e0e3f
-
sitting33 authored2e83352e
-
Kai Lüke authored
The wiping does not need privileges in contrast to opening the disk for arbitrary operations. That means that the wiping that was done on error was succeeding even though the user canceled the polkit auth process. This is confusing and may lead to the user thinking that they could accidentially wipe anything because it happens after canceling the auth process - but it is also good to not wipe if the user changes the mind after confirming the first dialog and it's nice to give a second chance when the auth dialog comes. Detect the dismissed auth error to distinguish it from other errors happening during the operation and only wipe the disk after those errors were encountered but not for the dismissed auth error coming from canceling the polkit auth process. Originally reported in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=987671
96ce80f6 -
Kai Lüke authored4da1597a
-
Sebastien Bacher authored7288cee5
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.