xdg-desktop-portal icon indicating copy to clipboard operation
xdg-desktop-portal copied to clipboard

Allow setting default permissions system-wide

Open pwithnall opened this issue 5 years ago • 3 comments

It would be useful for there to be some system-level defaults for the XDP permissions store, so that the distro or sysadmin can enable some things by default. In particular, for Hack (which is a flatpak app installed by default on Endless systems), we’d like to give it the background permission by default, since it runs some processes in the background and is a trusted part of the system. It’s not a great user experience for every user to be pestered with a notification saying “Hack is running in the background, do you want to allow this?”.

Currently, the best solution we have is a system-installed xdg-autostart file which runs flatpak permission-set for Hack.

pwithnall avatar Apr 14 '20 10:04 pwithnall

Another thing that could be useful is if apps could have install-time presets for permissions.

-> needs design

matthiasclasen avatar Sep 14 '20 16:09 matthiasclasen

I need something like this if I want to use flatpak on big deployment of a big network of SSO machines with NFS storage paths.

gdevenyi avatar May 12 '22 14:05 gdevenyi