Mercurial > gemma
changeset 2252:f8f2c4d88939
sysadmin users shall be able to create new stretches w/o restrictions.
author | Sascha Wilde <wilde@intevation.de> |
---|---|
date | Wed, 13 Feb 2019 16:59:38 +0100 |
parents | f162f136263e |
children | cfc523c70e90 |
files | schema/auth.sql |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/schema/auth.sql Wed Feb 13 16:54:22 2019 +0100 +++ b/schema/auth.sql Wed Feb 13 16:59:38 2019 +0100 @@ -145,9 +145,9 @@ FOR ALL TO waterway_admin USING (utm_covers(area)); -CREATE POLICY responsibility_area ON waterway.stretches +CREATE POLICY sys_admin ON waterway.stretches FOR ALL TO sys_admin - USING (utm_covers(area)); + USING (true); -- -- RLS policies for imports and import config