Skip to content

sanity-plugin-media #269

@diegobp99

Description

@diegobp99

Hi,

I’m using sanity-plugin-media in a Sanity project integrated with React Router.
The plugin works fine overall, but I’ve run into an unexpected permission issue related to media tags.

Currently, only users with the developer role or higher (e.g., admin) in Sanity can create new media tags.
Users with editor-like roles can select existing tags, but they cannot create new ones.

This feels unintuitive, since:

  • Creating and managing tags is usually a content/editorial task, not a developer-level responsibility.
  • Requiring elevated roles to create tags forces us to give higher permissions to users who should not have access to schema, structure, or configuration changes.

Expected behavior

Editors (or any role with write access to media documents) should be able to:

  • Create new media tags
  • Assign them to images/assets

Ideally, tag creation should be controlled by document-level permissions rather than requiring developer or admin roles.

Actual behavior

  • Users without developer or higher roles cannot create new tags
  • No clear feedback is shown explaining why tag creation is blocked

Questions

  • Is this behavior intentional?
  • If so, is there a recommended way to allow tag creation for non-developer roles?
  • Would you consider relaxing this restriction or making it configurable?

Happy to provide more details if needed (Sanity version, plugin version, roles configuration, etc.).

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions