Browse Source

Session coach can edit documents see BT#14350

jmontoyaa 6 years ago
parent
commit
c91f572daa
1 changed files with 1 additions and 1 deletions
  1. 1 1
      main/inc/lib/groupmanager.lib.php

+ 1 - 1
main/inc/lib/groupmanager.lib.php

@@ -3063,7 +3063,7 @@ class GroupManager
         $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;
         }