Merge branch 'polkit-allow-snap-seeding' into ubuntu/master

This commit is contained in:
Didier Roche 2025-07-15 16:30:33 +02:00
commit 59e55cb364
No known key found for this signature in database
GPG Key ID: 98B24A9CE4AC208E

View File

@ -0,0 +1,13 @@
// -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*-
//
// THIS FILE IS ONLY AVAILABLE ON THE LIVE SYSTEM
//
// Allow the ubuntu-desktop-installer to request snap seeding state
// used before starting.
polkit.addRule(function(action, subject) {
if (action.id == "io.snapcraft.snapd.manage-configuration") {
return polkit.Result.YES;
}
});