hide upload button in stack panel
pass canUpload permission into the macro
merge upload button fix
Merge pull request #2326 from rossriley/upload-permissions-fix

Fixes for upload permissions