Mercurial > gemma
view schema/updates/1304/01.add_section_rls.sql @ 4793:d6d73ca5496a
client: import_overview: improve implementation of exporting logs
* adjust using of end point
* delete the generation of csv in front end
author | Fadi Abbud <fadi.abbud@intevation.de> |
---|---|
date | Fri, 25 Oct 2019 15:09:10 +0200 |
parents | 5b9ba358a4e7 |
children |
line wrap: on
line source
CREATE POLICY hide_staging ON waterway.sections FOR SELECT TO waterway_user USING (staging_done); CREATE POLICY sys_admin ON waterway.sections FOR ALL TO sys_admin USING (true); CREATE POLICY responsibility_area ON waterway.sections FOR ALL TO waterway_admin USING (users.utm_covers(area)); ALTER TABLE waterway.sections ENABLE ROW LEVEL SECURITY