default grant - Mailing list pgsql-general

From Sim Zacks
Subject default grant
Date
Msg-id 4BBC612E.2020105@compulab.co.il
Whole thread Raw
Responses Re: default grant  (Sim Zacks <sim@compulab.co.il>)
List pgsql-general
Is there a way to grant permissions on any new objects (or at least new
tables) to a role?


In my app I have a function that drops and recreates a table at certain
times (with a different structure). Like a temporary table, but it
survives until a process is run which overwrites it. The process is not
the same user as the user who wants to view the table.


As soon as this happens the users lose rights to the table and I need to
manually run:

Grant select on NEWTABLE for users;


Thanks

Sim


pgsql-general by date:

Previous
From: Dave Page
Date:
Subject: Re: "1-Click" installer problems
Next
From: Magnus Hagander
Date:
Subject: Re: desktop heap usage in windows