Summary: | Administrator account can lock themselves out of printer access | ||
---|---|---|---|
Product: | [Applications] systemsettings | Reporter: | frafortunelli |
Component: | kcm_printer_manager | Assignee: | Plasma Bugs List <plasma-bugs-null> |
Status: | CONFIRMED --- | ||
Severity: | major | CC: | nate, noeerover |
Priority: | NOR | ||
Version First Reported In: | 6.2.5 | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
frafortunelli
2025-01-23 07:25:30 UTC
Whoops! Interesting. If I go to localhost:631, manage printers, it's there and you can modify users. When selecting "Allow these users to print", it remains "hidden" from print-manager (kcm, configure-printer). However, when selecting "Prevent these users from printing", it's back. I think it might the way that our CUPS request calls getDevices (which, BTW, is using a deprecated api): ``` m_connection->retry("/admin/", CUPS_GET_DEVICES) ``` Also, configure-printer uses a similar query method and it fails silently when trying to load that printer at startup. AFAICT, none of that code has not changed in over 10 years. I'll see if testing with the "new" stuff makes any difference with the KCM. Helluva find. ugh, my grammer.... Anyway, even our new stuff with the proper (modern) CUPS api calls produces the same results. I should also add, that's with CUPS 2.4.11. At some point in the near future, we'll be able to test with CUPS 3.x as well. |