Hotfix: Permission problems without security definer
This commit is contained in:
parent
d1f61dadd4
commit
8176eee356
@ -53,7 +53,7 @@ RETURNS boolean AS $$
|
|||||||
'redis_metrics_connection': redis_metrics_connection,
|
'redis_metrics_connection': redis_metrics_connection,
|
||||||
}
|
}
|
||||||
return True
|
return True
|
||||||
$$ LANGUAGE plpythonu;
|
$$ LANGUAGE plpythonu SECURITY DEFINER;
|
||||||
|
|
||||||
CREATE OR REPLACE FUNCTION cdb_geocoder_server._cdb_here_geocode_street_point(username TEXT, orgname TEXT, searchtext TEXT, city TEXT DEFAULT NULL, state_province TEXT DEFAULT NULL, country TEXT DEFAULT NULL)
|
CREATE OR REPLACE FUNCTION cdb_geocoder_server._cdb_here_geocode_street_point(username TEXT, orgname TEXT, searchtext TEXT, city TEXT DEFAULT NULL, state_province TEXT DEFAULT NULL, country TEXT DEFAULT NULL)
|
||||||
RETURNS Geometry AS $$
|
RETURNS Geometry AS $$
|
||||||
|
Loading…
Reference in New Issue
Block a user