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

For LTI 1.3 only consider roles in the context for automatically created users. #2591

Merged
merged 1 commit into from
Nov 14, 2024

Conversation

drgrice1
Copy link
Member

@drgrice1 drgrice1 commented Oct 2, 2024

Currently the context and institution roles are are considered. This makes it so that only context roles are considered by default. If someone needs the institution roles, then the new $LTI{v1p3}{AllowInstitutionRoles} option defined in conf/authen_LTI_1_3 can be set to 1, and then those roles will also be considered. For now system roles are always ignored (as they were before).

This is to fix the issue discussed in https://webwork.maa.org/moodle/mod/forum/discuss.php?d=8565#p21514.

@drgrice1 drgrice1 force-pushed the lti-use-context-role-only branch 2 times, most recently from 2581977 to 3da88f0 Compare October 2, 2024 01:16
@Alex-Jordan
Copy link
Contributor

This also relates to #2587, which should be closed if this is merged.

@drgrice1
Copy link
Member Author

drgrice1 commented Oct 7, 2024

@Alex-Jordan: Thanks for referencing the issue. I was looking for that when I made this pull request, but for some reason, I couldn't find it.

@drgrice1 drgrice1 force-pushed the lti-use-context-role-only branch from 3da88f0 to d6ba13c Compare October 18, 2024 15:11
@drgrice1 drgrice1 force-pushed the lti-use-context-role-only branch from d6ba13c to ab934b0 Compare October 29, 2024 19:27
@drgrice1 drgrice1 force-pushed the lti-use-context-role-only branch from ab934b0 to 0302aca Compare November 11, 2024 21:30
@drgrice1 drgrice1 force-pushed the lti-use-context-role-only branch from 0302aca to 02a1611 Compare November 13, 2024 02:12
…ted users.

This is to fix the issue discussed in
https://webwork.maa.org/moodle/mod/forum/discuss.php?d=8565#p21514.

If someone needs the institution roles, then the new
$LTI{v1p3}{AllowInstitutionRoles} option defined in conf/authen_LTI_1_3
can be set to 1, and then those roles will also be considered.
@drgrice1 drgrice1 force-pushed the lti-use-context-role-only branch from 02a1611 to 90f6209 Compare November 13, 2024 21:29
@somiaj somiaj merged commit df4b848 into openwebwork:develop Nov 14, 2024
2 checks passed
@drgrice1 drgrice1 deleted the lti-use-context-role-only branch November 14, 2024 17:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants