diff options
author | Beniamino Galvani <bgalvani@redhat.com> | 2017-07-19 16:24:07 +0200 |
---|---|---|
committer | Beniamino Galvani <bgalvani@redhat.com> | 2017-07-25 18:01:51 +0200 |
commit | 378a2f24869f7c550d669f05853fa56d28d36fc1 (patch) | |
tree | 6469d4758d29b9db996f064d46783fdf9600f425 /libnm-core/nm-setting-connection.c | |
parent | 4b51f5b1a848523123a441e836d07c3b1fb102f4 (diff) | |
download | NetworkManager-378a2f24869f7c550d669f05853fa56d28d36fc1.tar.gz |
libnm-core: clarify the meaning of the connection.permissions property
https://bugzilla.redhat.com/show_bug.cgi?id=1457939
Diffstat (limited to 'libnm-core/nm-setting-connection.c')
-rw-r--r-- | libnm-core/nm-setting-connection.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/libnm-core/nm-setting-connection.c b/libnm-core/nm-setting-connection.c index a0a7efe02e..f94bc6b547 100644 --- a/libnm-core/nm-setting-connection.c +++ b/libnm-core/nm-setting-connection.c @@ -1562,9 +1562,10 @@ nm_setting_connection_class_init (NMSettingConnectionClass *setting_class) * * An array of strings defining what access a given user has to this * connection. If this is %NULL or empty, all users are allowed to access - * this connection. Otherwise a user is allowed to access this connection - * if and only if they are in this list. Each entry is of the form - * "[type]:[id]:[reserved]"; for example, "user:dcbw:blah". + * this connection; otherwise users are allowed if and only if they are in + * this list. When this is not empty, the connection can be active only when + * one of the specified users is logged into an active session. Each entry + * is of the form "[type]:[id]:[reserved]"; for example, "user:dcbw:blah". * * At this time only the "user" [type] is allowed. Any other values are * ignored and reserved for future use. [id] is the username that this @@ -1575,8 +1576,9 @@ nm_setting_connection_class_init (NMSettingConnectionClass *setting_class) /* ---ifcfg-rh--- * property: permissions * variable: USERS(+) - * description: USERS restrict the access for this conenction to certain - * users only. + * description: Restrict to certain users the access to this connection, and + * allow the connection to be active only when at least one of the + * specified users is logged into an active session. * example: USERS="joe bob" * ---end--- */ |