Restrict allowed media types

Created on 16 July 2024, 5 months ago
Updated 12 August 2024, 4 months ago

Hello,
I want to do a members only exchange drop zone, with a specific media type-file.The other medias should be uploaded elsewhere on the website, then configuring general upload permissions is not the solution.
The view Media Directories: Standalone is restricted by a filter with the chosen Media type.
But the modal upload form still displays all media types.
Is there a way to restrict this form easily?

💬 Support request
Status

Closed: works as designed

Version

2.1

Component

User interface

Created by

🇫🇷France elektrorl

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @elektrorl
  • Status changed to Closed: works as designed 4 months ago
  • 🇨🇭Switzerland ytsurk Switzerland

    Yes - you can limit the allowed media types via using a media entity reference's field setting.

    Try the combined upload for having only one upload form w/o media type selection, you can enable it here: /admin/config/media/media_directories - this will also affect the media browsers main page (/admin/content/browser)

Production build 0.71.5 2024