[stable32] fix: provide canDownload helper for shares and use it where appropriate
#59019
+27
−12