Re: groups in postgres

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: groups in postgres
Дата
Msg-id 20010419081218.CA9D42A3A7@mainbox.archonet.com
обсуждение исходный текст
Ответ на groups in postgres  (Martín Marqués <martin@bugs.unl.edu.ar>)
Ответы Re: groups in postgres  (Martín Marqués <martin@bugs.unl.edu.ar>)
Список 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 по дате отправления:

Предыдущее
От: "Clayton Cottingham aka drfrog"
Дата:
Сообщение: Re: any proper benchmark scripts?
Следующее
От: Justin Clift
Дата:
Сообщение: Re: any proper benchmark scripts?