Re: Connecting to a database with logged in user credentials

2017-02-27 Thread konrad . perzyna
Thank you Melvyn. For now it's the best option we've found. W dniu czwartek, 23 lutego 2017 18:38:14 UTC+1 użytkownik Melvyn Sopacua napisał: > > Hi Konrad, > > On Thursday 23 February 2017 02:54:22 konrad@uni.lodz.pl > wrote: > > > > After starting the project, we've realised that db ro

Re: Connecting to a database with logged in user credentials

2017-02-23 Thread Melvyn Sopacua
Hi Konrad, On Thursday 23 February 2017 02:54:22 konrad.perz...@uni.lodz.pl wrote: > After starting the project, we've realised that db routing is limited > to the set of db connections that are statically described in django > settings. Just a few minutes before your post, a link was posted:

Connecting to a database with logged in user credentials

2017-02-23 Thread konrad . perzyna
Is it possible to create database ENGINE that would be able to pass credentials of logged in user to DatabaseWrapper.connect() method? We want to build rest api with Django that would base on a legacy Postgresql database. We've got permissions to objects ensured on database level, so a user log