| From: | Francisco J Reyes <fran(at)natserv(dot)net> |
|---|---|
| To: | "Williams, Travis L, NPONS" <tlw(at)att(dot)com> |
| Cc: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: Grant question.. |
| Date: | 2002-11-20 17:20:35 |
| Message-ID: | 20021120121850.B29852-100000@zoraida.natserv.net |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
On Wed, 20 Nov 2002, Williams, Travis L, NPONS wrote:
> During the Design and Test Phase of some of my tables's we are droping tables and recreating them quit often.. I have to continually regrant privileges to different users.. is there a way to give someone general permissions that they will have grant all to every DB that is created by default.. maybe by setting some kind of grant on a template or something?
> Thanks for the help..
Create groups, add users as needed to appropriate groups.
After you rebuild a table just grant .. to group $$$.
An example from one of my *.sql files:
revoke all on <table> from public;
grant select on <table> to group <group>;
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Neil Conway | 2002-11-20 17:54:46 | Re: Closing inactive connections OR user connections limits |
| Previous Message | Francisco J Reyes | 2002-11-20 17:14:07 | Re: Hardware estimation |