tenacityteam/tenacity-legacy

Support XDG Device portal

Open

#438 创建于 2021年8月8日

在 GitHub 查看
 (10 评论) (0 反应) (0 负责人)C++ (275 fork)batch import
enhancementhelp wanted

仓库指标

Star
 (6,921 star)
PR 合并指标
 (30 天内没有已合并 PR)

描述

  • I have read the specified guidelines for issues

Is your feature request related to a problem? Please describe.

This issue originated from https://github.com/tenacityteam/tenacity/issues/436.

Since the upcoming Flatpak package has access to the host directory, it'd be really good if we can start using portals to further sandbox Tenacity to increase its security without losing any convenience.

Describe the solution you'd like

Now that we're making a Flatpak package, we should consider using XDG Device portals. When adding support, at least in Flatpak, Tenacity will ask for permissions and then access your devices when granted.

Here's an example with the Decoder application when it tries to access my camera:

image

If you deny access, you will be able to grant permissions in Flatseal or your DE's permission manager.

贡献者指南