mirror of
https://github.com/Snigdha-OS/snigdhaos-arctic.git
synced 2026-01-22 15:13:56 +01:00
add policy kit
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
/* Allow members of the wheel group to execute any actions
|
||||
* without password authentication, similar to "sudo NOPASSWD:"
|
||||
*/
|
||||
polkit.addRule(function(action, subject) {
|
||||
if (subject.isInGroup("wheel")) {
|
||||
return polkit.Result.YES;
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user