mirror of
https://github.com/flatpak/flatpak.git
synced 2026-01-26 00:28:34 -05:00
In https://github.com/flatpak/flatpak/pull/1689 we were meant to have limited the receiving of broadcasts on portals, but die to a bug in the proxy we accidentally allowed all broadcasts anyway. The change which ignores all applied filters < POLICY_TALK fixes that. However, it also turns out that the desktop portal actually *does* rely on signals. For example the network portal uses property change notification. So, to make sure this works we allow all signal from the portal names, but only if they are on a object path starting under /org/freedesktop/portal (which incidentally all portal object are). This means there is no real change in anything that is currently deployed, but it does allow portals to opt out of this global signal visiblity if they want by using a different object path, which we want to use in dconf. Closes: #1976 Approved by: alexlarsson