From: | "Richard Huxton" <dev(at)archonet(dot)com> |
---|---|
To: | "Martn Marqus" <martin(at)bugs(dot)unl(dot)edu(dot)ar>, <pgsql-sql(at)postgresql(dot)org> |
Subject: | Re: groups in postgres |
Date: | 2001-04-19 08:12:18 |
Message-ID: | 20010419081218.CA9D42A3A7@mainbox.archonet.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
Martn Marqus <martin(at)bugs(dot)unl(dot)edu(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Justin Clift | 2001-04-19 10:15:28 | Re: any proper benchmark scripts? |
Previous Message | Martín Marqués | 2001-04-19 05:24:00 | Re: groups in postgres |