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

Releasing a student doesn't unshare custom levels #2315

Closed
faucomte97 opened this issue Jun 6, 2024 · 4 comments · Fixed by ocadotechnology/codeforlife-workspace#150 or #2376
Closed
Assignees

Comments

@faucomte97
Copy link
Contributor

faucomte97 commented Jun 6, 2024

Describe the bug
If a student who has created a custom levels is released by a teacher, their custom level remains shared with the teacher. Since the student no longer belongs to the school, this causes the teacher to see the error page instead of the levels page.

To Reproduce
Steps to reproduce the behaviour:

  1. Prerequisites: Have a teacher account with a student who has created a custom level. Confirm the teacher can see the level in the shared levels.
  2. Release the student.
  3. Go back to the levels page.
  4. Notice that the page fails to load.

Expected behaviour
When a student is released, it should also "unshare" all of their custom levels, as their are no longer in the school.

@faucomte97
Copy link
Contributor Author

LGTM

1 similar comment
@lauracumming
Copy link

LGTM

@lauracumming
Copy link

LGTM (PROD)

@faucomte97
Copy link
Contributor Author

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment