** Description changed:

  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.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1116317

Title:
  Needs option to create user connections by default

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to