Created attachment 162783 [details] Screencast of the Notification history "kio-admin" issue SUMMARY If the user performed some "kio-admin"-related action (e.g. copied files in Dolphin) and it was saved in the Notification history, after PolKit authentication expires (5 minutes), the user will be asked for a password after opening the "Notification" widget. STEPS TO REPRODUCE 1. Create root-owned directory sudo mkdir -p /tmp/test 2. Create test file inside this directory sudo fallocate -l 1G /tmp/test/1G-File 3. Using Dolphin file manager navigate to the /tmp/test/ directory 4. Gain administrative privileges using admin:// KIO protocol Input admin:/tmp/test in the address bar and enter password 5. Make a copy of the 1G-File using drag'n'drop and rename function 6. Use the "Notification" widget or tray item to make sure that the "copy" action was recorded in the notification history. 7. Wait until Polkit's temporary authorization expires (on most distros it's hardcoded to 5 minutes) 8. Open the "Notification" widget or tray item to see the Notification history OBSERVED RESULT I need to input the administrator password presumably because Plasma needs access to the admin:/// location EXPECTED RESULT I'd like to get asked for a password only during some interaction with the Notification history list item (e.g. "Open" action). Alternatively, I don't mind getting interaction with admin:/// disabled on the Notifications widget or tray item SOFTWARE/OS VERSIONS Linux/KDE Plasma: Fedora 39 Kinoite (also tested with Debian 12) KDE Plasma Version: 5.27.8 KDE Frameworks Version: 5.110.0 Qt Version: 5.15.10 ADDITIONAL INFORMATION Screencast which shows this issue, is attached to this report.
Absolutely fascinating. Thank you for the very well-explained bug report. Can reproduce.
*** Bug 495547 has been marked as a duplicate of this bug. ***