summary refs log tree commit diff
path: root/img/installer/seat.rules
blob: 79ff4007f8828e6ad08b735bc26526feb45d8760 (plain) (blame)
1
2
3
4
5
6
7
8
9
// SPDX-License-Identifier: EUPL-1.2+
// SPDX-FileCopyrightText: 2021 Alyssa Ross <hi@alyssa.is>

polkit.addRule(function (action, subject) {
    // The user of the graphical session should be able to do anything.
    if (subject.seat) {
        return polkit.Result.YES;
    }
});