1ab19c
From b73a07c20a522b3be0e096625c21d5606bcb7d82 Mon Sep 17 00:00:00 2001
1ab19c
From: Georges Basile Stavracas Neto <georges.stavracas@gmail.com>
1ab19c
Date: Mon, 21 Jun 2021 16:32:50 -0300
1ab19c
Subject: [PATCH] introspect: Allowlist GNOME portal
1ab19c
1ab19c
It too implements app listing and introspection, so list it in the
1ab19c
allowlist.
1ab19c
1ab19c
Part-of:
1ab19c
<https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1894>
1ab19c
---
1ab19c
 js/misc/introspect.js | 5 ++++-
1ab19c
 1 file changed, 4 insertions(+), 1 deletion(-)
1ab19c
1ab19c
diff --git a/js/misc/introspect.js b/js/misc/introspect.js
1ab19c
index f3c938af9..45eee81ce 100644
1ab19c
--- a/js/misc/introspect.js
1ab19c
+++ b/js/misc/introspect.js
1ab19c
@@ -1,7 +1,10 @@
1ab19c
 /* exported IntrospectService */
1ab19c
 const { Gio, GLib, Meta, Shell, St } = imports.gi;
1ab19c
 
1ab19c
-const APP_ALLOWLIST = ['org.freedesktop.impl.portal.desktop.gtk'];
1ab19c
+const APP_ALLOWLIST = [
1ab19c
+    'org.freedesktop.impl.portal.desktop.gtk',
1ab19c
+    'org.freedesktop.impl.portal.desktop.gnome',
1ab19c
+];
1ab19c
 
1ab19c
 const INTROSPECT_DBUS_API_VERSION = 3;
1ab19c
 
1ab19c
-- 
1ab19c
2.38.1
1ab19c