Design for Flatpak permission management in Discover & Settings (KCM)
Hi members of the VDG!
For this SoK, we are looking for ideas and input to make it a nice user experience to display and manage Flatpak application permissions.
The idea is to have Discover list the permissions and offer to manage them from the KCM. In the KCM, you get the full list of permissions and you can change them.
Some permissions are benign (might not even be shown), some are usual and some are more "dangerous". These permissions are categorized into groups. For instance, there can be upto 9 permissions under the "sockets" group.
We should have an initial "basic listing" design ready in the coming weeks and we can iterate from there.
For examples, I am attaching screenshots of other applications with similar functionality.
The following is of GNOME Software(which lists permissions to the user, like we want Discover to do):
The following 2 show Flatseal(which allows the user to manage permissions, which we want to implement as KCM). Some permissions have only on/off values...:
... whereas others are a little more complex, such as setting environment variables and session/system buses:
And the following two display the permission management interface in Android:
All input and ideas are welcome!