mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-06 05:00:15 +01:00
settings: fix session checking for connection operations
This commit is contained in:
parent
ac2438518d
commit
c3c9d93b1d
1 changed files with 1 additions and 1 deletions
|
|
@ -129,7 +129,7 @@ uid_in_acl (NMConnection *self,
|
|||
g_assert (s_con);
|
||||
|
||||
/* Reject the request if the request comes from no session at all */
|
||||
if (nm_session_monitor_uid_has_session (smon, uid, &user, &local)) {
|
||||
if (!nm_session_monitor_uid_has_session (smon, uid, &user, &local)) {
|
||||
g_set_error (error,
|
||||
NM_SETTINGS_ERROR,
|
||||
NM_SETTINGS_ERROR_PERMISSION_DENIED,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue