From de05361b28296f53f97163e0065ae4518fd9902b Mon Sep 17 00:00:00 2001 From: nocode Date: Tue, 7 Jul 2026 02:48:03 +0200 Subject: [PATCH] feat(releng): add polkit policy for fws-recovery privileged operations Add PolicyKit authorization policy file to allow fws-recovery-gui to execute fws-recovery engine via pkexec with administrative privileges. The policy uses auth_admin_keep to require authentication only once per session. --- .../polkit-1/actions/org.fws.recovery.policy | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 configs/releng/airootfs/usr/share/polkit-1/actions/org.fws.recovery.policy diff --git a/configs/releng/airootfs/usr/share/polkit-1/actions/org.fws.recovery.policy b/configs/releng/airootfs/usr/share/polkit-1/actions/org.fws.recovery.policy new file mode 100644 index 0000000..c9a337f --- /dev/null +++ b/configs/releng/airootfs/usr/share/polkit-1/actions/org.fws.recovery.policy @@ -0,0 +1,26 @@ + + + + + FWS + + Réparer le système FWS + Repair the FWS system + Authentification requise pour réparer le système + Authentication is required to repair the system + fws-recovery + + auth_admin_keep + auth_admin_keep + auth_admin_keep + + /usr/local/bin/fws-recovery + +