By smustgrave on
Change record status:
Draft (View all draft change records)
Project:
Introduced in branch:
main
Issue links:
Description:
Users that can create media but not edit them use to be able to edit the authoring information, simple to how node works.
Similar to how node works
$administrative_fields = ['uid', 'status', 'created'];
if ($operation == 'edit' && in_array($field_definition->getName(), $administrative_fields, TRUE)) {
return $this->access($items->getEntity(), 'update', $account, TRUE);
}
Impacts:
Site builders, administrators, editors