|
|
I think,
1) create a table include user_id, eg, table1
2) create a view, eg view1
select *
from table1
where user_id = user;
3) for anybody can select, insert, update for his owner records,
grant select, insert, update on view1 to him
4) for anybody can select all the records
grant select on table1 to him
5) for anybody can select, update, insert all the records
grant select,insert, update on table1 to him |
|