thinlinc_server: Change role name

This commit is contained in:
Timo Makinen 2022-02-24 23:17:33 +00:00
parent 3836afecca
commit d2b72b2fff
5 changed files with 1 additions and 1 deletions

View file

@ -0,0 +1,21 @@
polkit.addRule(function(action, subject) {
if (action.id == "org.freedesktop.color-manager.create-device" ||
action.id == "org.freedesktop.color-manager.create-profile" ||
action.id == "org.freedesktop.color-manager.delete-device" ||
action.id == "org.freedesktop.color-manager.delete-profile" ||
action.id == "org.freedesktop.color-manager.modify-device" ||
action.id == "org.freedesktop.color-manager.modify-profile") {
if (!subject.local) {
return polkit.Result.NO;
}
}
});
polkit.addRule(function(action, subject) {
if (action.id == "org.freedesktop.packagekit.system-network-proxy-configure" ||
action.id == "org.freedesktop.packagekit.system-sources-refresh") {
if (!subject.local) {
return polkit.Result.NO;
}
}
});