
Grant permissions on ALL tables and sequences
grant_all_table_permissions.RdGrants SELECT, INSERT, UPDATE, DELETE on ALL existing tables and USAGE, SELECT on ALL existing sequences in the public schema.
**For database administrators only.**
This is more permissive than `grant_plot_insert_permissions()` but avoids missing table errors. Note: Does NOT affect future tables (need ALTER DEFAULT PRIVILEGES for that).
Examples
if (FALSE) { # \dontrun{
con <- call.mydb()
# Grant to all users
grant_all_table_permissions(con, grant_to_public = TRUE)
# Grant to specific user
grant_all_table_permissions(con, "john.doe")
} # }