Skip to content

Add settings toggle to adjust how/if network permission is granted to an app on install #2226

Description

@matchboxbananasynergy

This is a proposal from a user on Matrix, and I'm posting it here on their behalf, though I also see the merit in it.

Currently, when you install an app, there's a checkbox that determines whether that app will have the Network permission on install. Furthermore, an app not having network but gaining it upon an update seems to not grant it by default, which is desirable.

There is a use case that is not currently covered though - the network permission on install related to the "Install available apps" feature.

When you install an available app to another profile through that UI, it seems that it gets the network permission regardless of what you do.

Proposal:

Add a new setting to Settings > Privacy with 3 options:

  1. Grant Network permission by default
  2. Deny Network permission by default
  3. Ask every time

1 and 2 would remove the checkbox from the package installer UI and would either grant or deny the network permission by default when installing an app. Similarly, when using the "install available apps" feature, it will either grant or deny the network permission to an app you "toggle on" in the install available apps screen.

The third option (Ask every time) will behave as it currently does for the package installer UI (checkbox for the network permission before the app is installed), and it would also bring up a similar prompt when you toggle an app on in the "install available apps" UI.

If this were implemented, I think we cover all bases for app installation and allow users to be able to grant/deny network permission to apps by default as they wish, no matter how the app is installed (regularly or via "install available apps).

The reason for implementing options 1 and 2 instead of just the "Ask every time" option is because it can likely make it cumbersome to have to make that decision for each and every up when you want to quickly set up a new profile and install 20 apps, for example, so an allow/deny approach being available would mitigate that.

This setting should be per-profile, just like the Sensors permission equivalent is.

Edit: As a per-profile setting, the behavior would depend on what has been set in the profile the apps are being installed to. It wouldn't depend on the owner profile when using "install available apps", but rather the profile the apps are being installed into.

The one tough part that I see in this is what the default behavior should be. Perhaps "Ask every time" even though being asked each time you toggle an app in the "install available apps" UI might be annoying as a default setting.

Another consideration that I hadn't thought of is that Owner might not be able to tell what the profile you're trying to install into has set in this setting, so it wouldn't know if it should bring up the checkbox or something else. It likely isn't an issue with the allow/deny approach, though.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions