elementary / switchboard-plug-applications

Switchboard Applications Plug
https://elementary.io
GNU General Public License v3.0
14 stars 12 forks source link

Show a more accurate/granular view of filesystem permissions #145

Open danirabbit opened 3 years ago

danirabbit commented 3 years ago

Problem

Currently we show a view of filesystem permissions that is kind of inaccurate. We only show if an app has requested permission for the entire filesystem or the entire home directory. We don't show however if an app has requested permission for a specific directory like Downloads

Proposal

Filesystem permissions should probably be its own separate section and have some more granular representation of which directories are included. It should be easy to see/toggle which XDG dirs are allowed.

Perhaps there should be some kind of cascading set of revealers or maybe radios or a dropdown or something that's like:

and then if "specific folders" is checked you get a flowbox of cute folder icons with checkboxes or something

Prior Art

Flatseal shows kind of a separate section and breakdown of locations but its pretty technical and not super easy to toggle XDG dirs:

Screenshot from 2020-12-17 17 16 01@2x

hanaral commented 3 years ago

@danrabbit I've added a possible change relevant to this issue in #148, which is to section off storage and folder access to another box beside the device-related permissions so that they can be more clearly defined. Possibly(?) they could have specific locations be added and removed in the same way Privacy & Security → History does via inline buttons at the bottom.