mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-11-06 20:04:07 +00:00
Merge branch 'polkit-allow-snap-seeding' into ubuntu/master
This commit is contained in:
commit
59e55cb364
@ -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;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user