mirror of
https://github.com/flatpak/flatpak.git
synced 2026-03-26 19:04:56 -04:00
The system helper was already correctly using the `NO_INTERACTION` flag in the D-Bus call flags to determine whether polkit calls from `flatpak_authorize_method_handler()` should allow interactivity. However, the system helper was not setting the no-interaction property on the `FlatpakDir` used in the subsequent operation. When parental controls are enabled, this sometimes results in polkit allowing interaction when prompting for the `override-parental-controls` action, even if the D-Bus call which activated the system helper specified the `NO_INTERACTION` flag. Signed-off-by: Philip Withnall <pwithnall@endlessos.org>