Skip to content

Add message when navigation is not allowed and LTI is not configured.#2862

Merged
Alex-Jordan merged 1 commit into
openwebwork:developfrom
somiaj:fix-warning-if-no-lti
Dec 19, 2025
Merged

Add message when navigation is not allowed and LTI is not configured.#2862
Alex-Jordan merged 1 commit into
openwebwork:developfrom
somiaj:fix-warning-if-no-lti

Conversation

@somiaj
Copy link
Copy Markdown
Contributor

@somiaj somiaj commented Dec 17, 2025

Instead of erroring out due to hash keys not existing, just give a message "You do not have permission to list assignments in this course." when when a user doesn't have the navigation_allowed permission but LTI is not configured.

I ran across this issue with a user I use to render problems via unsecured_rpc in a course where I disabled navigation for the public user to disable as much access to the course as I could for the public user.

Instead of erroring out due to hash keys not existing, just give a message
"You do not have permission to list assignments in this course." when
when a user doesn't have the `navigation_allowed` permission but
`LTI` is not configured.
@somiaj somiaj force-pushed the fix-warning-if-no-lti branch from 351f632 to e05fd47 Compare December 18, 2025 06:29
@Alex-Jordan Alex-Jordan merged commit eecc9d7 into openwebwork:develop Dec 19, 2025
2 checks passed
@somiaj somiaj deleted the fix-warning-if-no-lti branch February 4, 2026 03:55
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

Successfully merging this pull request may close these issues.

3 participants