thinlinc-server: Add missing policy file
This commit is contained in:
parent
019dd4978e
commit
277630dcf9
1 changed files with 21 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
});
|
Loading…
Add table
Reference in a new issue