Re: A little RLS oversight?
От | Michael Paquier |
---|---|
Тема | Re: A little RLS oversight? |
Дата | |
Msg-id | CAB7nPqS=EjZguRDLcrQAtTgbYTymYcpavKr_HZ-TSjZfxGog9g@mail.gmail.com обсуждение исходный текст |
Ответ на | A little RLS oversight? (Yaroslav <ladayaroslav@yandex.ru>) |
Ответы |
Re: A little RLS oversight?
|
Список | pgsql-hackers |
On Sun, Jul 12, 2015 at 5:59 PM, Yaroslav wrote: > I can still see all statistics for 'test' in pg_stats under unprivileged > user. Indeed, this looks like an oversight of RLS. Even if a policy is defined to prevent a user from seeing the rows of other users, it is still possible to get some information though this view. I am adding an open item regarding that for 9.5. > I'd prefer statistics on RLS-enabled tables to be simply hidden completely > for unprivileged users. This looks like something simple enough to do. @Stephen: perhaps you have some thoughts on the matter? Currently pg_stats breaks its promise to only show information about the rows current user can read. -- Michael
В списке pgsql-hackers по дате отправления: