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

[BUG FIX] [MER-4262] fix an issue where admins cannot access assessment settings for sections #5440

Conversation

eliknebel
Copy link
Contributor

https://eliterate.atlassian.net/browse/MER-4262

Fixes an issue where when logged in as an admin, the assessment settings page throws a 500 error.

The issue was caused by the result user of Mount.for in SettingsLive overwriting the current_user assigns with an Author (the logged in admin account). This was causing some of the UserAuth logic to break.

This was originally being worked on as part of MER-4262, but since there is a separate ticket targeted for this specific issue I am submitting this fix for MER-4262 and any additional work done for MER-4262 will be tracked by that Jira ticket and completed with another PR.

@eliknebel eliknebel closed this Feb 25, 2025
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.

1 participant