mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-14 17:10:14 +01:00
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. |
||
|---|---|---|
| .. | ||
| Makefile.am | ||
| nm-agent-manager.c | ||
| nm-agent-manager.h | ||
| nm-default-wired-connection.c | ||
| nm-default-wired-connection.h | ||
| nm-inotify-helper.c | ||
| nm-inotify-helper.h | ||
| nm-polkit-helpers.h | ||
| nm-secret-agent.c | ||
| nm-secret-agent.h | ||
| nm-settings-connection.c | ||
| nm-settings-connection.h | ||
| nm-settings-error.c | ||
| nm-settings-error.h | ||
| nm-settings.c | ||
| nm-settings.h | ||
| nm-system-config-interface.c | ||
| nm-system-config-interface.h | ||