Add grants to public functions

This commit is contained in:
Carla Iriberri 2016-07-11 14:55:06 +02:00
parent 65d8ab3c74
commit 7d24ba4efb

View File

@ -265,3 +265,6 @@ RETURNS boolean AS $$
CONNECT _server_conn_str(); CONNECT _server_conn_str();
TARGET cdb_dataservices_server._OBS_DisconnectUserTable; TARGET cdb_dataservices_server._OBS_DisconnectUserTable;
$$ LANGUAGE plproxy; $$ LANGUAGE plproxy;
GRANT EXECUTE ON FUNCTION cdb_dataservices_client._OBS_AugmentTable(text, text, json) TO publicuser;
GRANT EXECUTE ON FUNCTION cdb_dataservices_client._OBS_GetTable(text, text, text, json) TO publicuser;