Browse Source

Ims LTI fix student role - refs BT#13469

Angel Fernando Quiroz Campos 6 years ago
parent
commit
8ceb0fab60
1 changed files with 2 additions and 2 deletions
  1. 2 2
      plugin/ims_lti/ImsLtiPlugin.php

+ 2 - 2
plugin/ims_lti/ImsLtiPlugin.php

@@ -256,11 +256,11 @@ class ImsLtiPlugin extends Plugin
     public static function getUserRoles(User $user)
     {
         if ($user->getStatus() === INVITEE) {
-            return 'Learner/GuestLearner';
+            return 'Learner/GuestLearner,Learner';
         }
 
         if (!api_is_allowed_to_edit(false, true)) {
-            return 'Learner';
+            return 'Learner,Learner/Learner';
         }
 
         $roles = ['Instructor'];