| |
@@ -1,5 +1,6 @@
|
| |
polkit.addRule(function(action, subject) {
|
| |
- if (action.id == "org.projectatomic.rpmostree1.repo-refresh" &&
|
| |
+ if ((action.id == "org.projectatomic.rpmostree1.repo-refresh" ||
|
| |
+ action.id == "org.projectatomic.rpmostree1.upgrade") &&
|
| |
subject.active == true && subject.local == true) {
|
| |
return polkit.Result.YES;
|
| |
}
|
| |