Expected behavior
A user who can't upload media to the post (a "Contributor") doesn't have access to the Media options (or don't get Media added to it).
Actual behavior
When a user is a "Contributor" they cannot upload media to the post. However, we currently allow the user to submit a Media.
Steps to reproduce the behavior
- Log in with a user who has Contributor role in a blog
- Create a post, add a media
- Tap "Submit for Review"
- Check that the post was not uploaded
Also
- the "delete failed media" action doesn't work

Expected behavior
A user who can't upload media to the post (a "Contributor") doesn't have access to the Media options (or don't get Media added to it).
Actual behavior
When a user is a "Contributor" they cannot upload media to the post. However, we currently allow the user to submit a Media.
Steps to reproduce the behavior
Also