| |
@@ -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;
|
| |
}
|
| |
this will make use with nonwheel users possible. If it works for headless systems only used via ssh is not clear to me, but I kept the requirements.
Issue: https://gitlab.com/fedora/ostree/sig/-/issues/7
Related PRs:
CLOSED: https://src.fedoraproject.org/rpms/fedora-release/pull-request/316
https://src.fedoraproject.org/rpms/fedora-release/pull-request/321