postgres "принудительно выполняет защиту на уровне строк", но связанные политики отключены
В моей миграции pg я выполняю следующий SQL:
grant all on all tables in schema denolandia to my_user;
...<create-table>
alter table denolandia.packages force row level security;
create policy update_packages on denolandia.packages for insert
with check (
false
);
Когда я вхожу в Postgres как my_user
с помощью psql
и сделать \d
на моей схеме, я вижу, что на denolandia.packages
В таблице сообщается следующее:
Policies (row security disabled):
POLICY "update_packages" FOR INSERT
WITH CHECK (false)
Я просто повелел force row level security
так почему моя политика отключена?
Спасибо!