Skip to content

Dropping a user as student from a DB removes the user from student role in all DBs on the server #277

@KevinKelly25

Description

@KevinKelly25

If you drop a student from one ClassDB database it drops that student from all ClassDB databases. It makes sense why it does that looking at dropStudent function but it seems inconsistent with createStudent. For example:

If I have two databases cs305 and cs205. If I add a student to cs205 that student will not show up in cs305. However, if I add a student to both cs205 and cs305 then drop the student from either of the classes it will remove the student from both classes. At the very least not letting them connect to either and also removing them from student activity table of both.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions