Polkit dialog for update check is shown after login on standard user account on Silverblue
Description of problem:
When using standard user account (without sudo permissions) on Fedora Silverblue, "Authentication is required to check available updates" polkit dialog is shown after every login. I don't think such dialog should be displayed and it doesn't work anyway because the standard user account doesn't have the required permissions. See this screenshot:
Originally reported as Fedora bz#1683824, but moving it upstream since this does seem to be an upstream issue.
Version-Release number of selected component (if applicable):
gnome-software-3.34.0-2.fc32.x86_64
How reproducible:
Every time.
Steps to Reproduce:
- Use latest Fedora Rawhide (Silverblue) system.
- Create a new "Standard" user account using GNOME Control Center.
- Logout and login to the newly created account.
Actual results:
"Authentication is required to check available updates" polkit dialog is shown every time after login.
Expected results:
No polkit dialog is shown after login.
Additional info:
Also reported as rpm-ostree issue, but got closed.
According to rpm-ostree developer Jonathan Lebon, "this is a GNOME Software issue. GS should query polkit to see if the user is authorized without challenge before trying to do background checks for updates".