[Bug 18762] New: Changes needed for sudo model
bugzilla-daemon at bugzilla.ubuntu.com
bugzilla-daemon at bugzilla.ubuntu.com
Tue Nov 1 17:38:55 UTC 2005
Please do not reply to this email. You can add comments at
http://bugzilla.ubuntu.com/show_bug.cgi?id=18762
Ubuntu | gnome-cups-manager
Summary: Changes needed for sudo model
Product: Ubuntu
Version: unspecified
Platform: i386
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: gnome-cups-manager
AssignedTo: martin.pitt at ubuntu.com
ReportedBy: pascal.devuyst at gmail.com
QAContact: desktop-bugs at lists.ubuntu.com
gnome-cups-manager on Breezy 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
--
Configure bugmail: http://bugzilla.ubuntu.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
More information about the desktop-bugs
mailing list