// -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*- // // DO NOT EDIT THIS FILE, it will be overwritten on update. // // Allow the gnome-initial-setup user to do certain actions without // being interrupted by password dialogs polkit.addRule(function(action, subject) { if (subject.user !== 'gnome-initial-setup') return undefined; var actionMatches = (action.id === 'org.freedesktop.udisks2.filesystem-mount-system' || action.id.indexOf('org.freedesktop.hostname1.') === 0 || action.id.indexOf('org.freedesktop.NetworkManager.') === 0 || action.id.indexOf('org.freedesktop.locale1.') === 0 || action.id.indexOf('org.freedesktop.accounts.') === 0 || action.id.indexOf('org.freedesktop.timedate1.') === 0 || action.id.indexOf('org.freedesktop.realmd.') === 0 || action.id.indexOf('org.freedesktop.RealtimeKit1.') === 0 || action.id.indexOf('com.endlessm.ParentalControls.') === 0); if (actionMatches) { if (subject.local) return 'yes'; else return 'auth_admin'; } return undefined; });
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
20-gnome-initial-setup.rules | File | 1.24 KB | 0644 |
|
60-network-manager.rules | File | 261 B | 0644 |
|
geoclue-2.0.rules | File | 263 B | 0644 |
|
gnome-control-center.rules | File | 487 B | 0644 |
|
org.freedesktop.bolt.rules | File | 368 B | 0644 |
|
org.freedesktop.fwupd.rules | File | 251 B | 0644 |
|
org.freedesktop.packagekit.rules | File | 334 B | 0644 |
|
org.gtk.vfs.file-operations.rules | File | 590 B | 0644 |
|
systemd-networkd.rules | File | 422 B | 0644 |
|