Skip to content

Commit

Permalink
Session coach can edit documents see BT#14350
Browse files Browse the repository at this point in the history
  • Loading branch information
jmontoyaa committed May 18, 2018
1 parent 02af53c commit c91f572
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/inc/lib/groupmanager.lib.php
Expand Up @@ -3063,7 +3063,7 @@ public static function allowUploadEditDocument(
$blockPage = false
) {
// Admin and teachers can make any change no matter what
if (api_is_platform_admin() || api_is_allowed_to_edit()) {
if (api_is_platform_admin() || api_is_allowed_to_edit(false, true)) {
return true;
}

Expand Down

0 comments on commit c91f572

Please sign in to comment.