From 2e80b664271cee47fb1a3ff0058bfb2cc89e4c87 Mon Sep 17 00:00:00 2001 From: Beniamino Galvani Date: Wed, 19 Jul 2017 16:24:07 +0200 Subject: [PATCH] libnm-core: clarify the meaning of the connection.permissions property https://bugzilla.redhat.com/show_bug.cgi?id=1457939 (cherry picked from commit 378a2f24869f7c550d669f05853fa56d28d36fc1) --- libnm-core/nm-setting-connection.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/libnm-core/nm-setting-connection.c b/libnm-core/nm-setting-connection.c index 38f3bf4480..0d997e56f2 100644 --- a/libnm-core/nm-setting-connection.c +++ b/libnm-core/nm-setting-connection.c @@ -1561,9 +1561,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 @@ -1574,8 +1575,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--- */