Issue #3363528 by somnolentsurfer, danyg, hargobind, gisle: Fixed allowing background permission rebuild