File 40-default-webyast-base.rules of Package webyast-base.openSUSE_13.1_Update
// default permissions for "webyast" user
polkit.addRule(function(action, subject) {
if ((action.id == "org.opensuse.yast.module-manager.import"
|| action.id == "org.opensuse.yast.permissions.read"
|| action.id == "org.opensuse.yast.permissions.write"
) && subject.user == "webyast")
{
return polkit.Result.YES;
}
});
// vim: syntax=javascript