fix: provide canDownload helper for shares and use it where appropriate
#59008
+27
−12
canDownload helper for shares and use it where appropriate
#59008