Search Postgresql Archives

Re: Row-level permissions?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 30 December 2010 16:30, gvim <gvimrc@xxxxxxxxx> wrote:
Is it possible, with PostgreSQL 9.0, to restrict access to specific table rows by `id`? I want a user to be able to INSERT new rows but not UPDATE or DELETE rows with `id` < 1616.

gvim


I think the simplest way would be creating a trigger in which you would check all operations you want to restrict.


regards
Szymon

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux