#322 rpm-ostree: allow all local active users to upgrade
Closed 2 months ago by boredsquirrel3. Opened 2 months ago by boredsquirrel3.
rpms/ boredsquirrel3/fedora-release rpm-ostree-allow-upgrades  into  rawhide

@@ -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

Build failed. More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci
https://fedora.softwarefactory-project.io/zuul/buildset/1a7ad454e83745959bd1ad772e37825c

1 new commit added

  • added missing parenthesis
2 months ago

added it, for some reason it created a second PR

added it, for some reason it created a second PR

Build failed. More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci
https://fedora.softwarefactory-project.io/zuul/buildset/6bc81a172a604d3eb0b5973b08cc0835

Pull-Request has been closed by boredsquirrel3

2 months ago
Metadata