For ubuntu budgie we are busy snapping up our app “budgie-welcome”.
It allows users to install deb-based packages and add PPA’s via GUI buttons.
Underpinning this is a polkit policy and a trusted python executable to install packages and PPAs seamlessly without user authentication being required.
So currently the classic based snap installs the policy to /snap/budgie-welcome/current/usr/share/polkit-1/actions/ and the exe to /snap/budgie-welcome/current/usr/lib/budgie-welcome/
Question - A user based authentication request is still being shown. How should policykit based policies work under snaps? Any examples that anyone can share?