Skip to content

Commit c91f572

Browse files
committed
Session coach can edit documents see BT#14350
1 parent 02af53c commit c91f572

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main/inc/lib/groupmanager.lib.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3063,7 +3063,7 @@ public static function allowUploadEditDocument(
30633063
$blockPage = false
30643064
) {
30653065
// Admin and teachers can make any change no matter what
3066-
if (api_is_platform_admin() || api_is_allowed_to_edit()) {
3066+
if (api_is_platform_admin() || api_is_allowed_to_edit(false, true)) {
30673067
return true;
30683068
}
30693069

0 commit comments

Comments
 (0)