List document-portal directories permissions in “Applications”
Now that the document-portal has support for exporting directories to Flatpak applications, it would be useful if the individual applications panels could list the directories an application has access to, possibly a way to see how many individual files it has access to, and a way to revoke all those permissions.
You could imagine a “Files and Folders” section, listing “built-in” directories (the ones listed in
cat /.flatpak-info in a Flatpak), the additional directories each with their own "Forget" or "Unset" button, and "123 files" with a similar "Forget" button.
flatpak permission-list | grep documents