pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
role/user management
2+ messages / 2 participants
[nested] [flat]

* role/user management
@ 2019-05-04 16:44 Kirti Adesara <kdadesara@hotmail.com>
  2019-05-04 17:56 ` Re: role/user management Joe Conway <mail@joeconway.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Kirti Adesara @ 2019-05-04 16:44 UTC (permalink / raw)
  To: pgsql-admin@lists.postgresql.org <pgsql-admin@lists.postgresql.org>

Hi

I have a database with multiple tables, functions and triggers in public schema.

I want to create a user that can login to database and select on specific tables and cannot access to any functions, triggers and specific tables.

Thanks,

Kirti



ADESARA KIRTI D.
+91-98257-45997

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: role/user management
  2019-05-04 16:44 role/user management Kirti Adesara <kdadesara@hotmail.com>
@ 2019-05-04 17:56 ` Joe Conway <mail@joeconway.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Joe Conway @ 2019-05-04 17:56 UTC (permalink / raw)
  To: Kirti Adesara <kdadesara@hotmail.com>; pgsql-admin@lists.postgresql.org <pgsql-admin@lists.postgresql.org>

On 5/4/19 12:44 PM, Kirti Adesara wrote:
> I have a database with multiple tables, functions and triggers in public
> schema.
> 
> I want to create a user that can login to database and select on
> specific tables and cannot access to any functions, triggers and
> specific tables.

You haven't asked any questions -- please read the fine manual and them
come back with specific questions and you will be much more likely to
get help.

As a starting point, see:

  https://www.postgresql.org/docs/11/sql-grant.html

-and-

  https://wiki.postgresql.org/wiki/Guide_to_reporting_problems

HTH,

Joe

-- 
Crunchy Data - http://crunchydata.com
PostgreSQL Support for Secure Enterprises
Consulting, Training, & Open Source Development

Attachments:

  signature.asc (application/pgp-signature, 832B) download

^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2019-05-04 17:56 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2019-05-04 16:44 role/user management Kirti Adesara <kdadesara@hotmail.com>
2019-05-04 17:56 ` Joe Conway <mail@joeconway.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox