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

removeFromDB.sql relies on schema names matching user names (W) #147

Closed wildtayne closed 6 years ago

wildtayne commented 6 years ago

removeFromDB.sql assumes that ClassDB user names match their schema names, and will always try and reassign the schema matching the user name instead of the user's actual schema. I believe getting the correct schema name with ClassDB.getSchemaName() should resolve this issue.

wildtayne commented 6 years ago

This is a non-issue with the new user role base (see #161). The code performing this reassignment can be removed.