Stick with user tables being in public
... but workaround extension code replacing "public." with "cartodb."
This commit is contained in:
parent
b8adcae6c3
commit
9b6f9e21f2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user