Commit 2a60beb1 authored by Dmitry Dulepov's avatar Dmitry Dulepov Committed by Richard Haeser
Browse files

[BUGFIX] Allow "copy" action even if the user does not have "edit" permission

If the user does not have "edit" permission, she will not be able to see
the "Copy" action in the content menu. Since copy operation is read-
only, this action should be allowed. This fix will allow copying
without "edit" permissions.

The fix is contributed by the University of Basel.

Resolves: #92708
Releases: master, 10.4, 9.5
Change-Id: I018442e148ba1b4e9801a778bd5a00f433b9d0e0

Tested-by: core-ci's avatarcore-ci <>
Tested-by: Richard Haeser's avatarRichard Haeser <>
Reviewed-by: Richard Haeser's avatarRichard Haeser <>
parent d81ac21c
......@@ -585,7 +585,6 @@ class RecordProvider extends AbstractProvider
protected function canBeCopied(): bool
return !$this->isRecordInClipboard('copy')
&& $this->canBeEdited()
&& !$this->isRecordATranslation();
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment