Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
- Fixed a bug where entries weren’t redirecting back to their section’s page’s URL by default.
- Fixed a bug where the `resourceBasePath` and `resourceBaseUrl` config settings weren’t being respected for console requests. ([#18685](https://github.com/craftcms/cms/issues/18685))
- Fixed a bug where eager-loadable GraphQL fields could be populated with the wrong field’s results, if they followed a fragment with a `*Interface` type condition. ([#18708](https://github.com/craftcms/cms/issues/18708))
- Fixed a bug where users with permission to edit entries, but not view peer entries in a section, weren’t allowed to edit the authors for entries in the section. ([#18717](https://github.com/craftcms/cms/pull/18717))

## 5.9.20 - 2026-04-14

Expand Down
6 changes: 1 addition & 5 deletions src/elements/Entry.php
Original file line number Diff line number Diff line change
Expand Up @@ -2486,7 +2486,7 @@ protected function inlineAttributeInputHtml(string $attribute): string
],
'single' => false,
'elements' => $authors ?: null,
'disabled' => false,
'disabled' => !$this->canChangeAuthor(),
'errors' => $this->getErrors('authorIds'),
'limit' => $section->maxAuthors,
]);
Expand Down Expand Up @@ -2798,10 +2798,6 @@ private function canChangeAuthor(?User $user = null): bool

$section = $this->getSection();

if (!$user->can("viewPeerEntries:$section->uid")) {
return false;
}

$authorIds = $this->getAuthorIds();

return (
Expand Down
Loading