STEPS TO REPRODUCE 1. Currently you can open a file in any application by using the admin:/// protocol from cmdline 2. There is no appropriate GUI support in most applications (except dolphin) to open a file as administrator 3. For instance press Ctrl+O in Kate or Firefox OBSERVED RESULT No button to open the file as administrator EXPECTED RESULT Button to open the file as administrator (in the bottom right corner of the dialog right next to the current open dialog) This would be required for the kio open file dialog as well as the portal dialog if kio-admin is installed. Similarly this would be great for the open folder dialog (e.g. in Kate) aswell.
I'm not sure this is needed - KDE applications, such as Kate, should support using polkit to read and write files with root permissions. Non-KDE apps don't use KIO and therefor can't take advantage of the "admin:///" protocol anyway. If I understand correctly, the way the KDE desktop portal works with non-KDE applications, is that if you use a remote protocol ("admin:///" is essentially a remote file API), then it uses kio-fuse to mount the remote namespace on a local temp directory so that applications that can only do local file access can access it. Doing that to "admin:///" is a terrible practice from the point of security - it basically gives any application that can monitor for this kio-fuse mount, unfettered access to read and write files with root permission.
๐๐งน โ ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME. For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging. Thank you for helping us make KDE software even better for everyone!
๐๐งน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.