Skip to content

Safety dialog: Improve how high-risk permissions are displayed #1454

@bertob

Description

@bertob

Currently you can have cases where there's "can acquire arbitrary permissions" next to "no XYZ access". These two statements are obviously in contradiction, either the app can acquire any permissions or it can't.

Image

Proposal:

  • When a high-risk permission overrides other permissions, we upgrade those other rows to the highest possible risk state (e.g. in this case No User Device Access -> User Device Access)
  • If arbitrary permissions are enabled, show a row for each possible type of permission, even if it's not individually mentioned in the manifest (e.g. full DBus access and the like)
  • Because the risk goes up as you acquire more permissions (e.g. camera or file access is more dangerous if you also have network access), make all permission icons red if arbitrary permissons/X11/etc are enabled. Verified and Free Software would remain green since they're unrelated.
  • Hide duplicated permissions: If the app has full file system access, there's no point showing 10 random additional specific folders it also has separate access to, it just makes the list harder to parse

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions