File 40-default-webyast-services.rules of Package rubygem-webyast-services

// default permissions for "webyast" and "root" users

polkit.addRule(function(action, subject) {
  if ((action.id == "org.opensuse.yast.modules.yapi.services.read"
    || action.id == "org.opensuse.yast.modules.yapi.services.execute"
    ) && (subject.user == "webyast" || subject.user == "root"))
  {
    return polkit.Result.YES;
  }
});    

// vim: syntax=javascript
openSUSE Build Service is sponsored by