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
+1 -1
View File
@@ -22,7 +22,7 @@ AS $$
'spatial_ref_sys' 'spatial_ref_sys'
) )
), perms AS ( ), 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 FROM usertables
) )
SELECT t FROM perms SELECT t FROM perms