mirror of
https://github.com/flatpak/flatpak.git
synced 2026-04-10 18:08:07 -04:00
For security, only root can downgrade flatpaks in the system installation. However, the error message explaining this when a normal user attempts a downgrade was removed in commit44cf5076f. This commit adds back the error message. Since the current behavior is for a downgrade by a non-root user to fail with the message "No updates", this commit doesn't fix a security issue. It's purely about usability. Fixes https://github.com/flatpak/flatpak/issues/1303 Closes: #1366 Approved by: alexlarsson (cherry picked from commitfd94d07883)