** Summary changed:

- Changes needed for sudo model
+ gnome-cups-manager doesn't let regular users "become administrator" for admin 
tasks

** Description changed:

- gnome-cups-manager on Breezy needs some changes for sudo model.
+ gnome-cups-manager needs some changes for sudo model.
  
  BECOME ADMINISTRATOR
  
  Current situation: a normal user that is NO member of group lpadmin and NO
  member of group admin sees "Edit -> Become Administrator" and "Printer
  Properties: Become Administrator". Clicking either asks only for a password 
via
  gksudo, the user enters his password and then gnome-cups-manager just quits.
  
  Solution:
  * Clicking "Edit -> Become Administrator" should show a username+password 
dialog
  (gksuexec) to execute gnome-cups-manager as a printer administrator (member of
  group lpadmin).
  * "Edit -> Become Administrator" and "Printer Properties: Become 
Administrator"
  should only be visible if the user executing gnome-cups-manager is currently 
not
  logged in as administrator.
  
  
  NEW PRINTER
  
  Current situation:
  Clicking "New Printer" as normal user (NO member of group admin and lpadmin)
  doesn't do anything.
  If user is member of group admin and NO member of group lpadmin then no 
password
  is asked when clicking "New Printer" and gnome-cups-add is immediately shown 
and
  lets you add a printer.
  If user is member of group lpadmin then no password is asked when clicking 
"New
  Printer" and gnome-cups-add is immediately shown and lets you add a printer.
  
  Solution:
  * "New Printer" should only be visible if user executing gnome-cups-manager is
  member of group lpadmin.
  * Always ask for password to make the user realise that he is doing an
  administrative task.
  
  
  RIGHT CLICK: REMOVE
  
  Current situation:
  Right Clicking "Remove" on a printer as normal user (NO member of group admin
  and lpadmin) doesn't do anything.
  If user is member of group admin and NO member of group lpadmin then "Remove" 
is
  grayed out, clicking "Edit -> Become Administrator" ask for you password and
  then lets a user remove a printer immediately by right clicking "Remove".
  If user is member of group lpadmin then no password is asked when clicking
  "Remove" and the printer is removed immediately.
  
  Solution:
  * "Remove" should only be visible if user executing gnome-cups-manager is 
member
  of group lpadmin.
  * Always ask for password to make the user realise that he is doing an
  administrative task.
  
  
  RIGHT CLICK: PAUSE / RESUME
  
  Current situation:
  Right Clicking shows "Pause" and "Resume" for a printer as normal user (NO
  member of group admin and lpadmin), a normal user cannot pause or resume the
  printer.
  If user is member of group admin and NO member of group lpadmin then "Pause /
  Resume" is grayed out, clicking "Edit -> Become Administrator" ask for you
  password and then lets you pause or resume the printer by right clicking.
  If user is member of group lpadmin and right clicking on a printer he sees
  "Pause / Resume" not grayed out and it's immediately possible to pause or 
resume
  the printer.
  
  Solution:
  * "Pause / Resume" should only be visible if user executing gnome-cups-manager
  is member of group lpadmin.
  * Clicking "Pause / Resume" if user executing gnome-cups-manager is member of
  group lpadmin should ask for password to make the user realise that he is 
doing
  an administrative task.
  * "Pause / Resume" should be possible without password after selecting "Edit 
->
  Become Administrator" and entering username/password of an lpadmin.
  
  
  PRINTER PROPERTIES WINDOW
  
  Current situation:
  If the user is member of group lpadmin then Driver and Connection tabs are 
shown
  that let you change printer driver and printer port. This should only be 
allowed
  when administrating a printer and not all the time!
  No system-wide printer option settings possible via gnome-cups-manager, all
  printer options are stored user specific in ~/.lpoptions
  
  Solution for Printer properties window:
  * Should be shown as the user executing gnome-cups-manager (no Driver and
  Connection tab) and allow user specific printing options that are stored in
  ~/.lpoptions
  * Only show button "Become Administrator" if user executing gnome-cups-manager
  is currently not logged in as administrator.
  * If shown as administrator (by clicking button "Become Administrator" or by
  selecting Edit -> Become Administrator) the Driver and Connection tab should 
be
  visible and system-wide printer option settings should be made that are stored
  in /etc/cups/lpoptions

** Tags added: printer sudo

-- 
gnome-cups-manager doesn't let regular users "become administrator" for admin 
tasks
https://launchpad.net/bugs/24887

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to