NetworkManager/src/settings
Dan Williams 77239854f4 agents: send system-owned secrets to the agent if it has 'modify' permission
If we can authenticate the agent for 'modify' permission, then send
any existing system secrets to it as the user has permission to change
those secrets.  This means the agent doesn't have to call GetSecrets()
itself, which means simpler code on the agent side for a slight LoC
hit in NM itself.

This also moves the permissions checking into the NMAgentManager to
check each agent, which is sub-optimal since now the agent manager
has to do PolicyKit stuff, but hey that's life.  Agents need secrets,
and we do need to authenticate every agent before we send secrets to
them, and the NMSettingsConnection doesn't know about individual
agents at all.
2011-02-02 16:19:15 -06:00
..
Makefile.am settings: move agent code into settings directory 2011-01-30 11:00:33 -06:00
nm-agent-manager.c agents: send system-owned secrets to the agent if it has 'modify' permission 2011-02-02 16:19:15 -06:00
nm-agent-manager.h agents: send system-owned secrets to the agent if it has 'modify' permission 2011-02-02 16:19:15 -06:00
nm-default-wired-connection.c core: rename NMSysconfigConnection -> NMSettingsConnection 2011-01-26 11:38:12 -06:00
nm-default-wired-connection.h core: rename NMSysconfigConnection -> NMSettingsConnection 2011-01-26 11:38:12 -06:00
nm-inotify-helper.c logging: LOGD_SYS_SET -> LOGD_SETTINGS 2010-12-10 12:32:22 -06:00
nm-inotify-helper.h settings: system-settings -> settings 2010-10-27 20:22:14 -05:00
nm-polkit-helpers.h settings: system-settings -> settings 2010-10-27 20:22:14 -05:00
nm-secret-agent.c settings: don't pass all secrets to agents when requesting secrets 2011-02-01 12:19:58 -06:00
nm-secret-agent.h settings: implement deleting secrets from agents when connection is deleted 2011-01-31 23:33:46 -06:00
nm-settings-connection.c agents: send system-owned secrets to the agent if it has 'modify' permission 2011-02-02 16:19:15 -06:00
nm-settings-connection.h core: move secrets handling to NMSettingsConnection 2011-01-27 10:41:02 -06:00
nm-settings-error.c settings: rename NM_SYSCONFIG_SETTINGS_ERROR -> NM_SETTINGS_ERROR 2010-10-27 20:38:26 -05:00
nm-settings-error.h settings: rename NM_SYSCONFIG_SETTINGS_ERROR -> NM_SETTINGS_ERROR 2010-10-27 20:38:26 -05:00
nm-settings.c core: move secrets handling to NMSettingsConnection 2011-01-27 10:41:02 -06:00
nm-settings.h settings: update signal prototypes 2011-01-26 15:24:41 -06:00
nm-system-config-interface.c settings: fix plugin capabilities max value 2011-01-31 21:11:18 -06:00
nm-system-config-interface.h settings: fix plugin capabilities max value 2011-01-31 21:11:18 -06:00