Skip to content

Fix unauthenticated update_coursecode controller#295

Merged
KisuHypee merged 2 commits intomainfrom
fix/update-coursecode-auth
Apr 4, 2026
Merged

Fix unauthenticated update_coursecode controller#295
KisuHypee merged 2 commits intomainfrom
fix/update-coursecode-auth

Conversation

@k3mystra
Copy link
Copy Markdown
Collaborator

@k3mystra k3mystra commented Apr 4, 2026

  • Add update_coursecode to the before_action function to automatically set the course variable
  • Add authorize function in update_coursecode, with same level of privilege needed as update
  • Add integration test for update_coursecode

@KisuHypee KisuHypee merged commit 1e146f1 into main Apr 4, 2026
1 check passed
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.

2 participants