SUMMARY When user tries to auth using another account in the polkit, the system accepts only current user password STEPS TO REPRODUCE 1. Open any app which requires admin's rights 2. Swith the user in the polkit window 3. Try to enter a password of the another user OBSERVED RESULT Polkit accepts only password of current user EXPECTED RESULT Polkit accepts the password of swithched user SOFTWARE/OS VERSIONS Linux/KDE Plasma: KDE Neon KDE Plasma Version: 6.2.4 KDE Frameworks Version: 6.8 Qt Version: 6.8.1 ADDITIONAL INFORMATION I would be pleasure if You fix this bug as soon as possible
A possibly relevant merge request was started @ https://invent.kde.org/plasma/polkit-kde-agent-1/-/merge_requests/46
Git commit 401c76d0a03cf5e0beb801960d5491cf06e1d5fb by Harald Sitter. Committed on 14/01/2025 at 14:11. Pushed by sitter into branch 'master'. propagate selected user changes from qml to cpp this got lost in the qtquick port. simply restore the previous behavior of calling PolicyKitListener::userSelected when the user changes M +1 -0 QuickAuthDialog.cpp M +1 -0 QuickAuthDialog.h M +3 -2 policykitlistener.cpp M +1 -1 policykitlistener.h M +3 -0 qml/QuickAuthDialog.qml https://invent.kde.org/plasma/polkit-kde-agent-1/-/commit/401c76d0a03cf5e0beb801960d5491cf06e1d5fb
Git commit fdaa09b6b8bb8670653598f962a2969c0cc51aed by Harald Sitter. Committed on 15/01/2025 at 10:03. Pushed by sitter into branch 'Plasma/6.3'. propagate selected user changes from qml to cpp this got lost in the qtquick port. simply restore the previous behavior of calling PolicyKitListener::userSelected when the user changes (cherry picked from commit 401c76d0a03cf5e0beb801960d5491cf06e1d5fb) Co-authored-by: Harald Sitter <sitter@kde.org> M +1 -0 QuickAuthDialog.cpp M +1 -0 QuickAuthDialog.h M +3 -2 policykitlistener.cpp M +1 -1 policykitlistener.h M +3 -0 qml/QuickAuthDialog.qml https://invent.kde.org/plasma/polkit-kde-agent-1/-/commit/fdaa09b6b8bb8670653598f962a2969c0cc51aed