diff options
author | Dan Williams <dcbw@redhat.com> | 2010-05-29 23:11:45 -0700 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2010-05-29 23:11:45 -0700 |
commit | 65818d517e386c03daca08db4be7b53aff94359a (patch) | |
tree | 83ab988f3c56d1e33e4dd6afa11b38d2a5e65bc7 /src/nm-manager-auth.h | |
parent | 1e69294204e201ac284e9547d8f41e4a41fbd494 (diff) | |
download | NetworkManager-65818d517e386c03daca08db4be7b53aff94359a.tar.gz |
core: PolicyKit-protect sleep/wake
Default to 'not allowed', distros that need backwards compatibility
can flip this to 'yes' if they need to. At this point, only power
management scripts should call these functions.
Diffstat (limited to 'src/nm-manager-auth.h')
-rw-r--r-- | src/nm-manager-auth.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nm-manager-auth.h b/src/nm-manager-auth.h index f0f01c2839..faafbdbd2e 100644 --- a/src/nm-manager-auth.h +++ b/src/nm-manager-auth.h @@ -26,6 +26,7 @@ #include <dbus/dbus-glib.h> #define NM_AUTH_PERMISSION_ENABLE_DISABLE_NETWORK "org.freedesktop.NetworkManager.enable-disable-network" +#define NM_AUTH_PERMISSION_SLEEP_WAKE "org.freedesktop.NetworkManager.sleep-wake" #define NM_AUTH_PERMISSION_ENABLE_DISABLE_WIFI "org.freedesktop.NetworkManager.enable-disable-wifi" #define NM_AUTH_PERMISSION_ENABLE_DISABLE_WWAN "org.freedesktop.NetworkManager.enable-disable-wwan" #define NM_AUTH_PERMISSION_USE_USER_CONNECTIONS "org.freedesktop.NetworkManager.use-user-connections" |