Closed afig closed 7 years ago
Good find. Is the resolution granting execute to students on foldPgID
?
Unfortunately not, since students do not have any access to the classdb
schema. We could either:
foldPgID
in a schema that is accessible by all usersaddCatalogMgmt.sql
foldPgID
in listTables
and describe
.For now, it seems best to duplicate foldPgID
in the two functions in question. If we proceed with this solution, I recommend adding clear comments where code is duplicated and also open an issue that code is duplicated (not for M1).
Students cannot currently use
describe
orlistTables
. An error is reported stating that permission is denied for schema classdb. This is a result of PR #92, which added the use of thefoldPgID
to those two functions. SincefoldPgID
is in theclassdb
schema, the two functions in addCatalogMgnt.sql are now unusable by users who do not have access to theclassdb
schema (including Students).Some form of
foldPgID
's behavior should still exist in those two functions, since it would be confusing for users if the function parameters were case-sensitive without quotes.