After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 738643 - nmcli: fixes for displaying active connection when a profile is invisible
nmcli: fixes for displaying active connection when a profile is invisible
Status: RESOLVED FIXED
Product: NetworkManager
Classification: Platform
Component: nmcli
git master
Other Linux
: Normal normal
: ---
Assigned To: NetworkManager maintainer(s)
NetworkManager maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2014-10-16 16:30 UTC by Jiri Klimes
Modified: 2014-10-20 07:21 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jiri Klimes 2014-10-16 16:30:02 UTC
Scenario:
 * two users iare logged in: user_a and user_b
 * user_b creates a connection visible only to him 'user_b_private'
  (permissions: user:user_b)
 * user_b activates the connection user_b_private
 * user_a does not see the connection profile, but he does see the active
      connection
    
 * user_a calls
   nmcli con
   nmcli con show user_b_private

Code is in branch jk/nmcli-connection-fixes
Comment 1 Thomas Haller 2014-10-16 18:53:18 UTC
 * two users iare logged in: user_a and user_b
             ^
            ^^^


LGTM
Comment 2 Dan Williams 2014-10-18 20:41:56 UTC
Looks good to me too.
Comment 3 Jiri Klimes 2014-10-20 07:21:20 UTC
Merged to master:
9c6a510 Merge: nmcli fixes for private connections (bgo #738643)
e0c8848 cli: get connection ID straight from the active connection
e130415 cli: show active connection even if the connection profile is not visible
b03518b cli: show details for active connection even if the profile is not visible
278ec17 cli: fix errors and crash for invisible connections