In KDE Plasma it's in System Settings indeed but only the Flatseal's functionality. I'd like Warehouse's there too, in particular "snapshots".
@jarkko agree, KDE and Pantheon already got native some Flatseal functionality
@jarkko We very intentionally don't do this.
Flatseal configures apps' static permissions. These are perms that are not supposed to change, and on other OSs they are just completely invisible and immutable to a user. GNOME exposes settings for dynamic permissions. These are permissions apps ask for rather than claiming. Apps are designed to handle not having a dynamic permission granted
Changing static permissions will cause many issues, including app crashes and data loss. Not for most users!
@jarkko What distro (and its version) are you using?
Flatpak absolutely has the capability for apps to ask for access to files, hardware, etc. This is what it was designed for. These are called dynamic permissions, and many apps use them. I don't know how you've never encountered it.
Some apps don't know how to use dynamic permissions yet, and so they have to ask for exclusions to Flatpak's sandboxing. These are static permissions. Their defining feature is that apps don't function (1/?)
@jarkko apps don't function without them. So, something like Flatseal is basically a settings menu where users get to break their apps by revoking permissions that the app needs to work at all.
I'm not sure how system services are relevant here. It's not about security (though it is a little; Flatseal and home directory access is a lot more dangerous than an SSH on/off switch). It's about not bricking apps.
On iOS you're interacting with dynamic perms. Static perms are completely hidden (2/2)
@jarkko Interesting. Fedora should have xdg-desktop-portal and xdg-desktop-portal-gnome installed and functional.
The official Element app seems to be bad at using dynamic permissions. Both attaching and uploading files doesn't use the dynamic permissions. Apparently it's a new bug in Electron, and this used to work: https://github.com/electron/electron/issues/43819
I'm guessing you don't use many other Flatpaks then? I'm surprised you've never run into the dynamic permission prompts. It's just like on iOS
@jarkko similar popups, yeah. Not the same, and it doesn't ask for a password. But similar
It's basically like iOS's or Android's permission prompts. An app can ask for permission to do something, a yes/no dialog pops up, and the permission is either granted or not.
Flatpak does try to make dynamic permissions invisible whenever it can, though.
If you want to play with / test all the different available dynamic permissions, there's an app for that: https://flathub.org/apps/com.belmoussaoui.ashpd.demo