Skip to content

If a user is an instructor in a lecture and a student in another one, the other one is available in "Course Management" #323

@natkam

Description

@natkam

Describe the bug
If a user is an instructor in a lecture and a student in another one, the other one is available in "Course Management". The student can even see the assignment settings, even though they cannot change anything (an attempt to do so usually results in a "403 - Forbidden" response, but occasionally it's an unhandled exception).

To Reproduce
Steps to reproduce the behavior:

  1. Create a user that has an instructor role in one lecture and a student role in another one.
  2. Go to "Course Management"
  3. You can see both lectures there. If you click on any lecture, you can see its settings etc.

Expected behavior
Lectures in which the user is a student should not be visible in the Course Management.

Screenshots

The user has a student role in "lecture2":
Image

On an attempt to change the lecture's settings:
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions