Hide users not created by a user - Mailing list pgsql-admin

From apagador
Subject Hide users not created by a user
Date
Msg-id 51B04A48.5000708@ntsp.nec.co.jp
Whole thread Raw
List pgsql-admin
Hello all,

For a multi-tenant database system, it is assumed that only databases
and users
created by a certain tenant should be accessible/viewable to him.

 From what I read, postgresql stores database and user information in
catalogs that
are accessible to public.

Here is a scenario:

Let's say Tenant A created a database and a set of users, and Tenant B also
does the same in the same postgresql instance.

Can postgresql limit the access/view to only those databases and users
that Tenant A
created?

Any idea on how this could be done?

Thanks and best regards.



pgsql-admin by date:

Previous
From: Kouber Saparev
Date:
Subject: Re: Big UPDATE breaking replication
Next
From: dx k9
Date:
Subject: rpm upgrade on CentOS 6.3