libnm-core: clarify the meaning of the connection.permissions property

https://bugzilla.redhat.com/show_bug.cgi?id=1457939
(cherry picked from commit 378a2f2486)
This commit is contained in:
Beniamino Galvani 2017-07-19 16:24:07 +02:00
parent 8dc198d586
commit 2e80b66427

View file

@ -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---
*/