Stick with user tables being in public

... but workaround extension code replacing "public." with "cartodb."
This commit is contained in:
Sandro Santilli 2014-05-06 10:53:19 +02:00
parent b8adcae6c3
commit 9b6f9e21f2

View File

@ -22,7 +22,7 @@ AS $$
'spatial_ref_sys'
)
), perms AS (
SELECT t, has_table_privilege('publicuser', t, 'SELECT') as p
SELECT t, has_table_privilege('publicuser', 'public'||'.'||t, 'SELECT') as p
FROM usertables
)
SELECT t FROM perms