diff options
Diffstat (limited to 'release/installer/seat.rules')
-rw-r--r-- | release/installer/seat.rules | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/release/installer/seat.rules b/release/installer/seat.rules new file mode 100644 index 0000000..79ff400 --- /dev/null +++ b/release/installer/seat.rules @@ -0,0 +1,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; + } +}); |