Comment 49 for bug 934291

Revision history for this message
shemgp (shemgp) wrote :

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 <email address hidden> Thu, 14 Dec 2017 11:00:48 +0800
> +
However, here's still the latest debdiff.