The purpose of django_sql_dashboard.execute_sql is to restrict who can execute arbitrary SQL. The edit_policy feature could allow people to create dashboards that can be edited by other users using the Django Admin interface, even if those users do not have the execute_sql permission.
The purpose of
django_sql_dashboard.execute_sql
is to restrict who can execute arbitrary SQL. Theedit_policy
feature could allow people to create dashboards that can be edited by other users using the Django Admin interface, even if those users do not have theexecute_sql
permission.