DASSL / ClassDB

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

Role names fix #84

Closed afig closed 7 years ago

afig commented 7 years ago

These changes are related to issues #73 and #81

The three main ClassDB role names have had their names changed:

Instructor -> ClassDB_Instructor
Student    -> ClassDB_Student
DBManager  -> ClassDB_DBManager

This will prevent issues if the roles already existed on the server for other (non-ClassDB) purposes.

Also, createGroupRole() is now called with lowercase role names. This prevents an issue where the roles were wrongly identified as not existing. This was because the parameter in createGroupRole() was referred to with $1, which quoted the role names, making them case-sensitive. This might not be the most ideal fix, depending on future plans or other factors, so please share your opinions here or on Issue #73.