DASSL / ClassDB

An open-source system to let students experiment with relational data
https://dassl.github.io/ClassDB/
Other
7 stars 2 forks source link

Views StudentTable and StudentTableCount can return information unrelated to students (W) #182

Closed smurthys closed 6 years ago

smurthys commented 6 years ago

The problem is that getSchemaName is only reliable in the transaction where the user is created.

The views can simply consider all tables owned by each student without regard for schema name, and include both user name and schema name in the result.

This issue is related to Issue #181,