Skip to content

Contributors shouldn't be allowed to upload media #10666

@malinajirka

Description

@malinajirka

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

  1. Log in with a user who has Contributor role in a blog
  2. Create a post, add a media
  3. Tap "Submit for Review"
  4. Check that the post was not uploaded

Also

  • the "delete failed media" action doesn't work

contributor-uploads-image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions