Media file revision access

Created on 18 March 2025, 18 days ago

Problem/Motivation

When creating a media with a file field and enabling the revisions, the file still accessible.
It is right to keep the file on the table file_usage as is on a revision, but maybe the file should not be accessible if the revision is not the default one.

Steps to reproduce

Create a media and add a file field, also enable the revisions.
Upload a file on the new media, and create a new revision with a different file, if you try to access the file attached to the previous revision, it is still accessible.

πŸ› Bug report
Status

Active

Version

11.1 πŸ”₯

Component

file.module

Created by

πŸ‡ͺπŸ‡ΈSpain eduardo morales alberti Spain, πŸ‡ͺπŸ‡Ί

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

Comments & Activities

Production build 0.71.5 2024