If you are struggling with media upload permission in gutenberg. So you problem has been solved you can wrap your wrap your <MediaUpload> Component with another Component <MediaUploadCheck>. MediaUploadCheck will take to responsibility to check the user have permission to upload media.
For more info here check media upload component on Github repo.[sibwp_form id=3]