// Dragonrat admin tweaks updater role // // DO NOT EDIT THIS FILE, it will be overwritten on update. // // Allow users in the updater role to update the system // without being interrupted by a password dialog polkit.addRule(function(action, subject) { if ( ( action.id == "org.freedesktop.Flatpak.app-update" || action.id == "org.freedesktop.Flatpak.app-install" || action.id == "org.freedesktop.Flatpak.app-uninstall" || action.id == "org.freedesktop.Flatpak.runtime-update" || action.id == "org.freedesktop.Flatpak.runtime-install" || action.id == "org.freedesktop.Flatpak.runtime-uninstall" || action.id == "org.projectatomic.rpmostree1.rebase") && ( subject.isInGroup("wheel") || subject.isInGroup("updater") ) && subject.active) { return polkit.Result.YES; } });