Files
flatpak/common
Matthew Leeds fd94d07883 dir: Emit an error on non-root downgrade attempts
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 commit 44cf5076f. 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
2018-02-05 15:49:10 +00:00
..
2018-02-05 14:31:30 +00:00