aboutsummaryrefslogtreecommitdiff
path: root/roles/host/files/60-machinectl-fast-user-auth.rules
blob: eee39ea00101832a5b39772b7794f838812082c4 (plain) (blame)
1
2
3
4
5
6
polkit.addRule(function(action, subject) {
  if(action.id == "org.freedesktop.machine1.host-shell" &&
    subject.isInGroup("wheel")) {
      return polkit.Result.YES;
  }
});