|
Using AWS PostgreSQL as Folio modules backend, when enabling a module a a tenant, see errors like below even though the user has rds-superuser role:
org.folio.rest.persist.PostgresClient SEVERE ERROR: must be member of role "<tenant>_<module>".
Modify template_delete_tenant.sql by adding following line can address this issue.
GRANT myuniversity_mymodule TO CURRENT_USER;
For convience, following pull requests have been created for various Folio modules.
https://github.com/folio-org/mod-users/pull/20
https://github.com/folio-org/mod-metadata/pull/11
https://github.com/folio-org/mod-auth/pull/17
https://github.com/folio-org/mod-auth/pull/18
https://github.com/folio-org/mod-loan-storage/pull/2
https://github.com/folio-org/mod-configuration/pull/13
|