Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[LTI] HTTP 403 error when configuring Marsha on Blackboard due to incompatible role format #2676

Open
wilbrdt opened this issue Dec 19, 2024 · 0 comments
Assignees

Comments

@wilbrdt
Copy link
Contributor

wilbrdt commented Dec 19, 2024

Bug Report

Problematic Behavior
When configuring Marsha LTI on the Blackboard LMS, an HTTP 403 is raised.

Forbidden (Permission denied): /lti/select/classroom/
Traceback (most recent call last):
...
  File "/app/src/backend/marsha/core/views.py", line 1024, in post
    return self.render_to_response(self.get_context_data())
                                   ^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/src/backend/marsha/core/views.py", line 298, in get_context_data
    self._init_context()
  File "/app/src/backend/marsha/core/views.py", line 879, in _init_context
    raise PermissionDenied
django.core.exceptions.PermissionDenied
"POST /lti/select/classroom/ HTTP/1.0" 403

Blackboard LMS set the role of an instructor to: urn:lti:role:ims/lis/Instructor,urn:lti:instrole:ims/lis/Faculty, which seems to follow the LTI 1.0 specification, but is not compatible with how Marsha checks the roles.

Expected behavior/code
Any LMS following the LTI 1.0 specification should be able to configure Marsha with LTI.

Environment

  • Marsha version: 5.5.1

Possible Solution
As a first step, Marsha should be able to parse LIS roles.

@kernicPanel kernicPanel self-assigned this Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants