[gnome-software/wip/kalev/dont-skip-new-permissions] updates monitor: Don't skip automatic updates that require new permissions



commit a10dd35e60ba171ada0484f535e5359000b3b471
Author: Kalev Lember <klember redhat com>
Date:   Fri Oct 4 13:26:33 2019 +0200

    updates monitor: Don't skip automatic updates that require new permissions
    
    This is a workaround for 3.34.x to avoid holding back updates to any
    apps that require new permissions, as per aday's guidance.
    
    For master, this is fixed in a better way 
(https://gitlab.gnome.org/GNOME/gnome-software/merge_requests/329)
    where we show a shell notification that tells the user that they need to
    review apps that need new permissions.

 src/gs-update-monitor.c | 2 --
 1 file changed, 2 deletions(-)
---
diff --git a/src/gs-update-monitor.c b/src/gs-update-monitor.c
index c55b1536..81a8305b 100644
--- a/src/gs-update-monitor.c
+++ b/src/gs-update-monitor.c
@@ -327,8 +327,6 @@ _should_auto_update (GsApp *app)
                return FALSE;
        if (gs_app_get_kind (app) == AS_APP_KIND_FIRMWARE)
                return FALSE;
-       if (gs_app_has_quirk (app, GS_APP_QUIRK_NEW_PERMISSIONS))
-               return FALSE;
        return TRUE;
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]