summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--panels/applications/cc-applications-panel.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/panels/applications/cc-applications-panel.c b/panels/applications/cc-applications-panel.c
index 6b9a1c05b..e0ca950ae 100644
--- a/panels/applications/cc-applications-panel.c
+++ b/panels/applications/cc-applications-panel.c
@@ -818,6 +818,10 @@ add_static_permissions (CcApplicationsPanel *self,
if (keyfile == NULL)
return FALSE;
+ str = g_key_file_get_string (keyfile, "Session Bus Policy", "org.freedesktop.Flatpak", NULL);
+ if (str && g_str_equal (str, "talk"))
+ added += add_static_permission_row (self, _("Sandbox Escape"), _("Can circumvent all imposed restrictions"));
+
sockets = g_key_file_get_string_list (keyfile, "Context", "sockets", NULL, NULL);
if (sockets && g_strv_contains ((const gchar * const*)sockets, "system-bus"))
added += add_static_permission_row (self, _("System Bus"), _("Full access"));