Skip to content
Snippets Groups Projects

Redirect to enroll page when not enrolled

What does this mr do?

When a user tries to access a lab page when they are not enrolled to the edition of the course, they will be redirected to the enrol page.

Screenshots

before

after

Does this MR meet the acceptance criteria?

  • I have added a changelog entry to reflect the significant changes I made.
  • Tests were created to test the feature.
  • I have updated the documentation accordingly.
  • I adhere to the style guide. Closes #381 (closed)
Edited by Cédric Willekens

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Nice concise change!

  • added 2 commits

    • 4ab439ec - Redirect to enroll page when not enrolled
    • 3f73201a - Add test for redirect from lab page when not enrolled

    Compare with previous version

  • added 2 commits

    • c222f586 - Redirect to enroll page when not enrolled
    • 62bceb41 - Add test for redirect from lab page when not enrolled

    Compare with previous version

  • Cédric Willekens marked the checklist item Tests were created to test the feature. as completed

    marked the checklist item Tests were created to test the feature. as completed

  • added 2 commits

    • e6194e50 - Redirect to enroll page when not enrolled
    • 9e3b3ed5 - Add test for redirect from lab page when not enrolled

    Compare with previous version

  • added 2 commits

    • 887cfe4b - Redirect to enroll page when not enrolled
    • 972d0fb8 - Add test for redirect from lab page when not enrolled

    Compare with previous version

  • added 1 commit

    • d61583ac - Add test for redirect from lab page when not enrolled

    Compare with previous version

  • added 1 commit

    • d2bad815 - Add test for redirect from lab page when not enrolled

    Compare with previous version

  • added 2 commits

    • 20f816b2 - Redirect to enroll page when not enrolled
    • 8b129d34 - Add test for redirect from lab page when not enrolled

    Compare with previous version

  • Chris Lemaire resolved all threads

    resolved all threads

  • added 1 commit

    • 642d12b6 - Add test for redirect from lab page when not enrolled

    Compare with previous version

  • Chris Lemaire approved this merge request

    approved this merge request

  • Chris Lemaire resolved all threads

    resolved all threads

  • Chris Lemaire started a merge train

    started a merge train

  • Chris Lemaire mentioned in commit 891a4ec3

    mentioned in commit 891a4ec3

  • Please register or sign in to reply
    Loading