By larowlan on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
10.1.x
Introduced in version:
10.1.0
Issue links:
Description:
Two new permissions have been added Delete any file and Delete own files
Previously the \Drupal\file\FileAccessControlHandler::checkAccess() code only allowed file owners to delete their own files. Now a role can be granted access to delete any file.
Additionally, the File entity now provides a delete form and an operations field for views. This allows site builders to build UIs for users to delete files. The file listing view shipped with the File module provides an example.
Impacts:
Site builders, administrators, editors
Module developers
Site templates, recipes and distribution developers
Comments
File itself, or just File entity
Ie, does this stop the need for the https://www.drupal.org/project/file_delete module? In any case, welcome news, thank you!
Yes, it seems like the file
Yes, it seems like the file_delete module becomes obsolete with this change.