Bug 463660 - wrong password expected
Summary: wrong password expected
Status: RESOLVED NOT A BUG
Alias: None
Product: Discover
Classification: Applications
Component: discover (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-31 10:20 UTC by alias.rw1@laposte.net
Modified: 2022-12-31 11:09 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description alias.rw1@laposte.net 2022-12-31 10:20:50 UTC
SUMMARY

I think the wrong password is expected :

STEPS TO REPRODUCE
1. 
have updated debian 12 testing (kde) with an existing root password
2. 
have 2 users, not tested with more users
3.  
only one of them has status "admin"
4.
log in on the "not admin" user
5.
use discover for update or install or uninstall

OBSERVED RESULT
Discover expects the user password while logged on "not admin" user

EXPECTED RESULT
I think it's better to expect the admin (root) password while logged on a "not admin" user.

SOFTWARE/OS VERSIONS
Windows: x
macOS: x
Linux/KDE Plasma: debian 12 testing bookworm
KDE Plasma Version:  5.26.4
KDE Frameworks Version: 5.101.0
Qt Version: 5.15.7

ADDITIONAL INFORMATION
- when the 2 users are "not admin", the good password (root/admin) is expected
- the "not admin" user is able to change the other user like "not admin" to "admin" with its user password
- tested in a KVM a virtual machine
Comment 1 Nicolas Fella 2022-12-31 10:32:51 UTC
Discover doesn't perform authentication directly. It uses PackageKit for any package management, which uses PolKit internally. When and how that prompt for a password is a matter of PolKit configuration
Comment 2 alias.rw1@laposte.net 2022-12-31 11:09:05 UTC
thank you for your answer but a basic user like me is not able to deal with the things you mentioned. I didn't report as a Discover bug.