Re: How to limit access only to certain records?

Поиск
Список
Период
Сортировка
От Jayadevan M
Тема Re: How to limit access only to certain records?
Дата
Msg-id OFF7618F91.66FB7141-ON65257A25.0047AE1C-65257A25.0047B999@ibsplc.com
обсуждение исходный текст
Ответ на How to limit access only to certain records?  (Andreas <maps.on@gmx.net>)
Список pgsql-sql
<font face="sans-serif" size="2">HI,</font><br /><font face="sans-serif" size="2">> <br /> > is there a way to
limitaccess for some users only to certain records?<br /> > <br /> > e.g. there is a customer table and there are
account-managers.<br/> > Could I limit account-manager #1 so that he only can access customers <br /> > only
acordingto a flag?<br /> > <br /> > Say I create a relation  cu_am ( customer_id, account_manager_id ).<br />
>Could I let the database control that account-manager #1 can only see <br /> > customers who are assigned to him
inthe cu_am-relation?<br /> > <br /> > For now I do this in the front-end but this is easily circumvented for <br
/>> anyone who has a clue and uses some other client like psql.<br /> Using a VIEW?</font><br /><font
face="sans-serif"size="2">Regards,</font><br /><font face="sans-serif" size="2">Jayadevan<br /></font><br /><font
face="sans-serif"size="2"><br /><br /><br /><br /> DISCLAIMER:</font><font size="3"> </font><font color="#a2a2a2"
face="Tahoma"size="1"><br /><br /> "The information in this e-mail and any attachment is intended only for the person
towhom it is addressed and may contain confidential and/or privileged material. If you have received this e-mail in
error,kindly contact the sender and destroy all copies of the original communication. IBS makes no warranty, express or
implied,nor guarantees the accuracy, adequacy or completeness of the information contained in this email or any
attachmentand is not liable for any errors, defects, omissions, viruses or for resultant loss or damage, if any, direct
orindirect."</font><font size="3"><br /></font><font size="1"><br /></font><font size="3"><br /></font><br /><br /> 

В списке pgsql-sql по дате отправления:

Предыдущее
От: Jov
Дата:
Сообщение: Re: How to limit access only to certain records?
Следующее
От: hari.fuchs@gmail.com
Дата:
Сообщение: Re: How to limit access only to certain records?