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

Update and improve privilege tests (M3) #247

Closed afig closed 6 years ago

afig commented 6 years ago

This PR updates the privilege tests to also test privileges on newly added functions. The tests are still not perfect, but they are gradually improving.

In addition to expanding the objects tested, the main script has also been updated to not require the user to enter a password for every connection to the database. The tests also store who the original user was rather than assuming it was the postgres role. Thanks to work that @srrollo and @smurthys performed in PR #214 for these fixes.

Closes: #207, Closes: #222

afig commented 6 years ago

Thanks for the reviews everyone.