Yup, as I see it using cups-pk-helper gives two layers of auth, one for
cupsd and another for policy-kit.  Using cups-pk-helper as lpadmin or
root would override cupsd permissions as it'll be running with all
privileges, but there's still the policy-kit permissions.

Right now, I've tested it, with my patch, printer jobs can't be seen
between users in gnome-control panel (I think it has nothing to do with
my patch though).  Jobs still can be seen in the "Additional Printer
Settings", but when I try to delete the job, there, of an admin user
from a non-admin user it asks me for the password of the admin user.
Deleting the other way around works though (admin deleting non-admin
jobs).

Also, there's a gnome-extension named "Printers" which uses cupsd
commands to delete jobs, etc. In that extension as admin, I can see non-
admin jobs, and can delete them.  On a non-admin account, I can't see
admin jobs.

Also, for Till Kamppeter (till-kamppeter), the diff between my ppa and the 
latest debdiff is:
3,4c3,10
< +++ cups-pk-helper-0.2.6/debian/changelog     2017-07-12 14:25:18.000000000 
+0800
< @@ -1,3 +1,15 @@
---
> +++ cups-pk-helper-0.2.6/debian/changelog     2017-12-14 11:00:48.000000000 
> +0800
> @@ -1,3 +1,21 @@
> +cups-pk-helper (0.2.6-1ubuntu3~artful1) artful; urgency=medium
> +
> +  * Recompile for artful 
> +
> + -- Shem Pasamba <she...@gmail.com>  Thu, 14 Dec 2017 11:00:48 +0800
> +
However, here's still the latest debdiff.

** Patch added: "run_as_lpadmin4.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/934291/+attachment/5024601/+files/run_as_lpadmin4.debdiff

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

Title:
  Deleting or stopping print jobs does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/934291/+subscriptions

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

Reply via email to