mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-01 09:30:13 +01:00
settings: fix permission checking during add
This commit is contained in:
parent
09a6f45ead
commit
fe3002d9f1
1 changed files with 1 additions and 1 deletions
|
|
@ -789,7 +789,7 @@ pk_add_cb (NMAuthChain *chain,
|
|||
goto done;
|
||||
}
|
||||
|
||||
result = nm_auth_chain_get_result (chain, NM_AUTH_PERMISSION_SETTINGS_HOSTNAME_MODIFY);
|
||||
result = nm_auth_chain_get_result (chain, NM_AUTH_PERMISSION_SETTINGS_CONNECTION_MODIFY);
|
||||
|
||||
/* Caller didn't successfully authenticate */
|
||||
if (result != NM_AUTH_CALL_RESULT_YES) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue