Hide users not created by a user

From: apagador <apagador(at)ntsp(dot)nec(dot)co(dot)jp>
To: pgsql-admin(at)postgresql(dot)org
Subject: Hide users not created by a user
Date: 2013-06-06 08:37:28
Message-ID: 51B04A48.5000708@ntsp.nec.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

Browse pgsql-admin by date

  From Date Subject
Next Message Kouber Saparev 2013-06-06 12:19:51 Re: Big UPDATE breaking replication
Previous Message Devrim GÜNDÜZ 2013-06-05 20:16:11 Re: 9.1 RPM - seucrity update to 9.1.9 still shows 9.1-4?