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

Privilege issues fix #109

Closed afig closed 7 years ago

afig commented 7 years ago

This PR fixes most of the issues that were identified during the development an testing of the privilege tests.

This PR also fixes two other issues that were identified but did not have Issues created for them:

smurthys commented 7 years ago

Super work.

On duplicated code: desperate times, desperate measures. :)

I wonder if dbman should be able to create PUBLIC schema, especially right now that role is also doubling as "Teaching Assistant". However, I would not change anything on this, except may be add an enhancement issue that a TA role is required.

addCatalogMgmt.sql:

Would you please opportunistically fix #112 in your next commit?

wildtayne commented 7 years ago

Looks good so far. I would also add the line I mention in #106, which drops the default privileges in public from an instructor when they are dropped. Otherwise, the default privileges block them from being dropped.

smurthys commented 7 years ago

I am a bit lost having just re-joined the conversation. I will wait for @afig to chime in with a summary of status/clarification/decision on the points by @srrollo and @s-aithal.

afig commented 7 years ago

Several concerns raised in comments have been fixed: