cancel
Showing results for 
Search instead for 
Did you mean: 

PostgreSQL on SAP BTP authorizations

05-12-2021 1:35 PM
2022 views 5 comments
SAP Managed Tags
Subscribe

manjunath.baburao - we are using cds-pg for a multitenant CAP sample project running on postgreSQL and are having issues with authorization post BTP deployment.

Im able to clone and drop schemas for multitenancy when developing locally using superuser postgres but after BTP deployment, we lose access to any DB superuser.

I have not found a way to to grant permissions to a new or existing cloud DB user in order to create and run procedures (clone / drop schemas). I was able to ssh tunnel into the DB and connect PG Admin but still did not have proper authorizations to create and run DB procedures on our BTP enabled postgres instance.

Am I missing something or is this a short-coming of PostgreSQL hyperscaler service?

sample code: https://github.com/austinkloske22/pg-tacostand

sql statement I'm trying to execute

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member

Hi austinkloske,

Have you looked into this post already? Check the "Add and setup the PostgreSQL database" section.

Getting started with CAP on PostgreSQL (Node.js) | SAP Blogs

Hope it helps. Kindly share the outcome once you have it sorted out.

Cheers,

Luis

former_member235482
Participant
0 Likes

Luis yes I have, I actually mention this article in the pg-tacostand readme git page. I am attempting to expand on the previous cds-pg examples with a multitenant use case. As far as I can tell so far, it's not possible until I get DB superuser access.