← Back to team overview

desktop-packages team mailing list archive

[Bug 1116317] Re: [ffe] allow option to create user connections by default

 

** Changed in: network-manager
       Status: Incomplete => Confirmed

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to network-manager-applet in Ubuntu.
https://bugs.launchpad.net/bugs/1116317

Title:
  [ffe] allow option to create user connections by default

Status in NetworkManager:
  Confirmed
Status in “network-manager-applet” package in Ubuntu:
  Fix Released
Status in “network-manager-applet” source package in Precise:
  Triaged
Status in “network-manager-applet” source package in Quantal:
  Triaged
Status in “network-manager-applet” source package in Raring:
  Invalid
Status in “network-manager-applet” source package in Saucy:
  Triaged
Status in “network-manager-applet” source package in Trusty:
  Fix Released

Bug description:
  NetworkManager needs a setting that makes it create new connections as
  user connections by default.

  org.freedesktop.NetworkManager.settings.modify.system can be used to
  allow access, however, you don't always want to have users edit system
  connections.

  [Impact]
  Before 12.04, new connections in NetworkManager were user-connections. Organisations could use this to lock down certain connections to system connections.

  Today, non-admin users are shown a "Please enter root password" prompt
  when trying to connect to an unknown (wireless) network. Which is
  undesirable as these users may not know the root password.

  A workaround is to grant the users
  'org.freedesktop.NetworkManager.settings.modify.system' access,
  however this may be desirable as corporate networks may be defined in
  system-connections that adminstators may not want users to change.

  [Test Case]

   * Today: Connect to a new wireless network as a non-admin user, see
  that a password dialog is displayed.

   * With patch, set a PolicyKit rule of:

  """
  [Adding or changing system-wide NetworkManager connections]
  Identity=unix-user:*
  Action=org.freedesktop.NetworkManager.settings.modify.system
  ResultActive=no

  [Adding or changing user-owned NetworkManager connections]
  Identity=unix-user:*
  Action=org.freedesktop.NetworkManager.settings.modify.own
  ResultActive=yes
  """

  ...connect to a new wireless network as a non-admin user and see in
  /etc/NetworkManager/system-connections that a user-connection instead
  of system one has been defined, no root password should be requested
  either.

  [Regression Potential]
  None, as we do not touch the default configuration for 12.04 LTS.

To manage notifications about this bug go to:
https://bugs.launchpad.net/network-manager/+bug/1116317/+subscriptions