Re: groups in postgres - Mailing list pgsql-sql

From Richard Huxton
Subject Re: groups in postgres
Date
Msg-id 20010419081218.CA9D42A3A7@mainbox.archonet.com
Whole thread Raw
In response to groups in postgres  (Martín Marqués <martin@bugs.unl.edu.ar>)
Responses Re: groups in postgres
List pgsql-sql
Mart�n Marqu�s <martin@bugs.unl.edu.ar> said:

> I building an application that will load data on a database by lots of 
> people. So I thought about putting them in a group and giving priviledges to 
> the group.
> 
> The problem is the the information on the main table is related with fields 
> of other tables, and depending on how it's related, I want some users to be 
> able to modify the data and I don't want those users to insert new data if 
> the relation is right for them.
> 
> Am I clear up to know?
> 
> Now, how can I do this? Is it posible manipulating groups? Or do I have to 
> play with triggers.

Sounds like you want different groups for different users, and a view for each
group. You can then define rules for each view defining the access that is
available.

Is that what you're after?

- Richard Huxton


pgsql-sql by date:

Previous
From: "Clayton Cottingham aka drfrog"
Date:
Subject: Re: any proper benchmark scripts?
Next
From: Justin Clift
Date:
Subject: Re: any proper benchmark scripts?