Re: Fwd: row level security (RLS)

2021-03-15 Thread Rafal Pietrak
W dniu 15.03.2021 o 18:01, Laurenz Albe pisze: > On Mon, 2021-03-15 at 16:28 +0100, Rafal Pietrak wrote: >> 5. My experiments with RLS was like following: >> - I've implemented a STABLE function, that returns INTEGER 1/0 >> - I've linked that function as POLICY to my tables >>

Fwd: row level security (RLS)

2021-03-15 Thread Rafal Pietrak
Hello, I was told, that pgsql-hackers is not the right list for the following questions. So I'm reposting to general. Does anybody have an opinion regarding the following questions? --- Hello, Forgive me for probably naive questions, being so talkative like the foll

Re: Fwd: row level security (RLS)

2021-03-15 Thread Laurenz Albe
On Mon, 2021-03-15 at 16:28 +0100, Rafal Pietrak wrote: > 5. My experiments with RLS was like following: > - I've implemented a STABLE function, that returns INTEGER 1/0 > - I've linked that function as POLICY to my tables > - I've GRANTED PUBLIC access to those tables >