[gnome-software/1701-permissions-context-tile-says-has-access-to-no-files-even-if-flatpak-app-has-access-to: 20/21] gs-app-context-bar: Indicate when the GS_APP_PERMISSIONS_FILESYSTEM_OTHER is set
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/1701-permissions-context-tile-says-has-access-to-no-files-even-if-flatpak-app-has-access-to: 20/21] gs-app-context-bar: Indicate when the GS_APP_PERMISSIONS_FILESYSTEM_OTHER is set
- Date: Wed, 13 Apr 2022 15:07:29 +0000 (UTC)
commit cc9935f572f6def0bfca249f3218a6ee1d3a5618
Author: Milan Crha <mcrha redhat com>
Date: Wed Apr 13 17:02:45 2022 +0200
gs-app-context-bar: Indicate when the GS_APP_PERMISSIONS_FILESYSTEM_OTHER is set
Related to https://gitlab.gnome.org/GNOME/gnome-software/-/issues/1701
src/gs-app-context-bar.c | 7 +++++++
1 file changed, 7 insertions(+)
---
diff --git a/src/gs-app-context-bar.c b/src/gs-app-context-bar.c
index ea1e8938f..0e88aecd6 100644
--- a/src/gs-app-context-bar.c
+++ b/src/gs-app-context-bar.c
@@ -333,6 +333,13 @@ update_safety_tile (GsAppContextBar *self)
* It’s used in a context tile, so should be short. */
_("Can read your downloads"));
break;
+ case GS_APP_PERMISSIONS_FILESYSTEM_OTHER:
+ add_to_safety_rating (&chosen_rating, descriptions,
+ SAFETY_POTENTIALLY_UNSAFE,
+ /* Translators: This indicates an app can access data in the
system unknown to the Software.
+ * It’s used in a context tile, so should be short. */
+ _("Can access arbitrary files"));
+ break;
case GS_APP_PERMISSIONS_SETTINGS:
add_to_safety_rating (&chosen_rating, descriptions,
SAFETY_POTENTIALLY_UNSAFE,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]