mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-06 11:28:32 +02:00
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:
parent
8dc198d586
commit
2e80b66427
1 changed files with 7 additions and 5 deletions
|
|
@ -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
|
* 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
|
* connection. If this is %NULL or empty, all users are allowed to access
|
||||||
* this connection. Otherwise a user is allowed to access this connection
|
* this connection; otherwise users are allowed if and only if they are in
|
||||||
* if and only if they are in this list. Each entry is of the form
|
* this list. When this is not empty, the connection can be active only when
|
||||||
* "[type]:[id]:[reserved]"; for example, "user:dcbw:blah".
|
* 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
|
* 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
|
* 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---
|
/* ---ifcfg-rh---
|
||||||
* property: permissions
|
* property: permissions
|
||||||
* variable: USERS(+)
|
* variable: USERS(+)
|
||||||
* description: USERS restrict the access for this conenction to certain
|
* description: Restrict to certain users the access to this connection, and
|
||||||
* users only.
|
* 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"
|
* example: USERS="joe bob"
|
||||||
* ---end---
|
* ---end---
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue