|
1 | 1 | --shows all the permissions of a given user and table |
2 | 2 | SELECT |
3 | | - has_table_privilege('macrostrat', 'tile_cache.tile_info', 'SELECT') AS can_select, |
4 | | - has_table_privilege('macrostrat', 'tile_cache.tile_info', 'INSERT') AS can_insert, |
5 | | - has_table_privilege('macrostrat', 'tile_cache.tile_info', 'UPDATE') AS can_update, |
6 | | - has_table_privilege('macrostrat', 'tile_cache.tile_info', 'DELETE') AS can_delete, |
7 | | - has_table_privilege('macrostrat', 'tile_cache.tile_info', 'TRUNCATE') AS can_truncate, |
8 | | - has_table_privilege('macrostrat', 'tile_cache.tile_info', 'REFERENCES') AS can_references, |
9 | | - has_table_privilege('macrostrat', 'tile_cache.tile_info', 'TRIGGER') AS can_trigger, |
| 3 | + has_table_privilege('macrostrat', 'tile_cache.tile', 'SELECT') AS can_select, |
| 4 | + has_table_privilege('macrostrat', 'tile_cache.tile', 'INSERT') AS can_insert, |
| 5 | + has_table_privilege('macrostrat', 'tile_cache.tile', 'UPDATE') AS can_update, |
| 6 | + has_table_privilege('macrostrat', 'tile_cache.tile', 'DELETE') AS can_delete, |
| 7 | + has_table_privilege('macrostrat', 'tile_cache.tile', 'TRUNCATE') AS can_truncate, |
| 8 | + has_table_privilege('macrostrat', 'tile_cache.tile', 'REFERENCES') AS can_references, |
| 9 | + has_table_privilege('macrostrat', 'tile_cache.tile', 'TRIGGER') AS can_trigger, |
10 | 10 | has_schema_privilege('macrostrat', 'tile_cache', 'USAGE') AS can_use_schema, |
11 | | - has_table_privilege('macrostrat', 'tile_cache.tile_info', 'SELECT') AS macrostrat_can_select; |
| 11 | + has_table_privilege('macrostrat', 'tile_cache.tile', 'SELECT') AS macrostrat_can_select; |
0 commit comments