Azure / meta-azure-service-broker

A service broker to manage multiple Azure services in Cloud Foundry
Apache License 2.0
39 stars 44 forks source link

Generate user for PostgreSQL binding #213

Closed tomconte closed 5 years ago

tomconte commented 5 years ago

This PR updates the PostgreSQL module to generate a new user at binding time, instead of returning the administrator credentials. The new user is granted privileges to the database at bind time, and when unbinding the privileges are revoked and any objects owned by the user are reassigned to the administrator. The implementation is intended to be similar to the SQLDB one.

zhongyi-zhang commented 5 years ago

Thanks for the cool PR, @tomconte! This is a great change to push PostgreSQL module forward. I'll merge it once the integration test passes in my side.

zhongyi-zhang commented 5 years ago

The integration test also passed in my side. Merging!