https://bugs.kde.org/show_bug.cgi?id=476394

            Bug ID: 476394
           Summary: Access to notification history requires password if
                    the list contains past kio-admin related actions
    Classification: Plasma
           Product: plasmashell
           Version: 5.27.8
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Notifications
          Assignee: plasma-b...@kde.org
          Reporter: xalt7x.serv...@gmail.com
                CC: k...@privat.broulik.de
  Target Milestone: 1.0

Created attachment 162783
  --> https://bugs.kde.org/attachment.cgi?id=162783&action=edit
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.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to