NetworkManager/src
Thomas Haller 549b126a5c
device: allow non-privileged users to call device.GetAppliedConnection()
Compare to the connection's GetSettings() call, which is not protected
by policykit permissions. It only checks that the requesting user is
allowed according to "connection.permission".

Previously, device's GetAppliedConnection() requires "network-control"
permissions. This although it only reads a profile, without modifying
anything. That seems unnecessary, also because in the common case the
applied connection is identical to the current settings connection, and
the latter can be read without special permissions.

Don't require a special policykit permission to read the applied
connection.

https://bugzilla.redhat.com/show_bug.cgi?id=1882380
2020-09-29 11:51:14 +02:00
..
devices device: allow non-privileged users to call device.GetAppliedConnection() 2020-09-29 11:51:14 +02:00
dhcp format: manually replace remaining tabs with spaces and reformat 2020-09-29 09:12:27 +02:00
dns format: manually replace remaining tabs with spaces and reformat 2020-09-29 09:12:27 +02:00
dnsmasq format: replace tabs for indentation in code comments 2020-09-28 16:07:52 +02:00
initrd format: replace tabs for indentation in code comments 2020-09-28 16:07:52 +02:00
ndisc format: replace tabs for indentation in code comments 2020-09-28 16:07:52 +02:00
platform format: manually replace remaining tabs with spaces and reformat 2020-09-29 09:12:27 +02:00
ppp format: manually replace remaining tabs with spaces and reformat 2020-09-29 09:12:27 +02:00
settings format: replace tabs for indentation in code comments 2020-09-28 16:07:52 +02:00
supplicant format: manually replace remaining tabs with spaces and reformat 2020-09-29 09:12:27 +02:00
systemd all/systemd: reformat ./{shared,src}/systemd/ with new clang-format style 2020-09-28 20:01:29 +02:00
tests format: replace tabs for indentation in code comments 2020-09-28 16:07:52 +02:00
vpn format: replace tabs for indentation in code comments 2020-09-28 16:07:52 +02:00
main-utils.c format: replace tabs for indentation in code comments 2020-09-28 16:07:52 +02:00
main-utils.h all: reformat all with new clang-format style 2020-09-28 16:07:51 +02:00
main.c format: replace tabs for indentation in code comments 2020-09-28 16:07:52 +02:00
meson.build l3cfg: implement IPv4 DAD/ACD (address collision detection) in NML3Cfg 2020-09-03 11:52:39 +02:00
NetworkManagerUtils.c format: replace tabs for indentation in code comments 2020-09-28 16:07:52 +02:00
NetworkManagerUtils.h format: replace tabs for indentation in code comments 2020-09-28 16:07:52 +02:00
nm-act-request.c format: replace tabs for indentation in code comments 2020-09-28 16:07:52 +02:00
nm-act-request.h all: reformat all with new clang-format style 2020-09-28 16:07:51 +02:00
nm-active-connection.c format: replace tabs for indentation in code comments 2020-09-28 16:07:52 +02:00
nm-active-connection.h format: replace tabs for indentation in code comments 2020-09-28 16:07:52 +02:00
nm-audit-manager.c all: reformat all with new clang-format style 2020-09-28 16:07:51 +02:00
nm-audit-manager.h all: reformat all with new clang-format style 2020-09-28 16:07:51 +02:00
nm-auth-manager.c format: replace tabs for indentation in code comments 2020-09-28 16:07:52 +02:00
nm-auth-manager.h all: reformat all with new clang-format style 2020-09-28 16:07:51 +02:00
nm-auth-utils.c core: add nm_auth_is_invocation_in_acl_set_error() helper 2020-09-29 11:51:14 +02:00
nm-auth-utils.h core: add nm_auth_is_invocation_in_acl_set_error() helper 2020-09-29 11:51:14 +02:00
nm-checkpoint-manager.c format: replace tabs for indentation in code comments 2020-09-28 16:07:52 +02:00
nm-checkpoint-manager.h all: reformat all with new clang-format style 2020-09-28 16:07:51 +02:00
nm-checkpoint.c format: replace tabs for indentation in code comments 2020-09-28 16:07:52 +02:00
nm-checkpoint.h all: reformat all with new clang-format style 2020-09-28 16:07:51 +02:00
nm-config-data.c format: replace tabs for indentation in code comments 2020-09-28 16:07:52 +02:00
nm-config-data.h format: replace tabs for indentation in code comments 2020-09-28 16:07:52 +02:00
nm-config.c format: manually replace remaining tabs with spaces and reformat 2020-09-29 09:12:27 +02:00
nm-config.h format: replace tabs for indentation in code comments 2020-09-28 16:07:52 +02:00
nm-connectivity.c format: replace tabs for indentation in code comments 2020-09-28 16:07:52 +02:00
nm-connectivity.h all: reformat all with new clang-format style 2020-09-28 16:07:51 +02:00
nm-core-utils.c format: manually replace remaining tabs with spaces and reformat 2020-09-29 09:12:27 +02:00
nm-core-utils.h format: replace tabs for indentation in code comments 2020-09-28 16:07:52 +02:00
nm-dbus-manager.c format: replace tabs for indentation in code comments 2020-09-28 16:07:52 +02:00
nm-dbus-manager.h all: reformat all with new clang-format style 2020-09-28 16:07:51 +02:00
nm-dbus-object.c format: replace tabs for indentation in code comments 2020-09-28 16:07:52 +02:00
nm-dbus-object.h format: replace tabs for indentation in code comments 2020-09-28 16:07:52 +02:00
nm-dbus-utils.c format: replace tabs for indentation in code comments 2020-09-28 16:07:52 +02:00
nm-dbus-utils.h format: replace tabs for indentation in code comments 2020-09-28 16:07:52 +02:00
nm-dcb.c format: replace tabs for indentation in code comments 2020-09-28 16:07:52 +02:00
nm-dcb.h all: reformat all with new clang-format style 2020-09-28 16:07:51 +02:00
nm-dhcp-config.c all: reformat all with new clang-format style 2020-09-28 16:07:51 +02:00
nm-dhcp-config.h all: reformat all with new clang-format style 2020-09-28 16:07:51 +02:00
nm-dispatcher.c format: replace tabs for indentation in code comments 2020-09-28 16:07:52 +02:00
nm-dispatcher.h all: reformat all with new clang-format style 2020-09-28 16:07:51 +02:00
nm-firewall-manager.c format: replace tabs for indentation in code comments 2020-09-28 16:07:52 +02:00
nm-firewall-manager.h all: reformat all with new clang-format style 2020-09-28 16:07:51 +02:00
nm-hostname-manager.c format: replace tabs for indentation in code comments 2020-09-28 16:07:52 +02:00
nm-hostname-manager.h all: reformat all with new clang-format style 2020-09-28 16:07:51 +02:00
nm-iface-helper.c format: replace tabs for indentation in code comments 2020-09-28 16:07:52 +02:00
nm-ip-config.c all: reformat all with new clang-format style 2020-09-28 16:07:51 +02:00
nm-ip-config.h all: reformat all with new clang-format style 2020-09-28 16:07:51 +02:00
nm-ip4-config.c format: replace tabs for indentation in code comments 2020-09-28 16:07:52 +02:00
nm-ip4-config.h format: manually replace remaining tabs with spaces and reformat 2020-09-29 09:12:27 +02:00
nm-ip6-config.c format: replace tabs for indentation in code comments 2020-09-28 16:07:52 +02:00
nm-ip6-config.h all: reformat all with new clang-format style 2020-09-28 16:07:51 +02:00
nm-keep-alive.c format: replace tabs for indentation in code comments 2020-09-28 16:07:52 +02:00
nm-keep-alive.h all: reformat all with new clang-format style 2020-09-28 16:07:51 +02:00
nm-l3-config-data.c format: replace tabs for indentation in code comments 2020-09-28 16:07:52 +02:00
nm-l3-config-data.h format: replace tabs for indentation in code comments 2020-09-28 16:07:52 +02:00
nm-l3cfg.c format: replace tabs for indentation in code comments 2020-09-28 16:07:52 +02:00
nm-l3cfg.h format: replace tabs for indentation in code comments 2020-09-28 16:07:52 +02:00
nm-logging.c format: replace tabs for indentation in code comments 2020-09-28 16:07:52 +02:00
nm-logging.h all: reformat all with new clang-format style 2020-09-28 16:07:51 +02:00
nm-manager.c format: replace tabs for indentation in code comments 2020-09-28 16:07:52 +02:00
nm-manager.h all: reformat all with new clang-format style 2020-09-28 16:07:51 +02:00
nm-netns.c format: replace tabs for indentation in code comments 2020-09-28 16:07:52 +02:00
nm-netns.h all: reformat all with new clang-format style 2020-09-28 16:07:51 +02:00
nm-pacrunner-manager.c format: replace tabs for indentation in code comments 2020-09-28 16:07:52 +02:00
nm-pacrunner-manager.h all: reformat all with new clang-format style 2020-09-28 16:07:51 +02:00
nm-policy.c format: manually replace remaining tabs with spaces and reformat 2020-09-29 09:12:27 +02:00
nm-policy.h all: reformat all with new clang-format style 2020-09-28 16:07:51 +02:00
nm-proxy-config.c format: replace tabs for indentation in code comments 2020-09-28 16:07:52 +02:00
nm-proxy-config.h all: reformat all with new clang-format style 2020-09-28 16:07:51 +02:00
nm-rfkill-manager.c format: replace tabs for indentation in code comments 2020-09-28 16:07:52 +02:00
nm-rfkill-manager.h format: replace tabs for indentation in code comments 2020-09-28 16:07:52 +02:00
nm-session-monitor.c format: replace tabs for indentation in code comments 2020-09-28 16:07:52 +02:00
nm-session-monitor.h all: reformat all with new clang-format style 2020-09-28 16:07:51 +02:00
nm-sleep-monitor.c all: reformat all with new clang-format style 2020-09-28 16:07:51 +02:00
nm-sleep-monitor.h all: reformat all with new clang-format style 2020-09-28 16:07:51 +02:00
nm-test-utils-core.h all: reformat all with new clang-format style 2020-09-28 16:07:51 +02:00
nm-types.h format: replace tabs for indentation in code comments 2020-09-28 16:07:52 +02:00
org.freedesktop.NetworkManager.conf dbus: pretty format "org.freedesktop.NetworkManager.conf" 2020-04-15 19:17:00 +02:00