Do not assume existance of a "publicuser" role in CDB_UserTables

Closes #5 (take 2)
master
Sandro Santilli 11 years ago
parent 1c753b24e5
commit 055efe04aa

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

Loading…
Cancel
Save