Implement dropping databases #3862
Labels
needs: product approval
It's not yet clear that this issue will actually improve Mathesar from a user's perspective
type: bug
Something isn't working
work: backend
Related to Python, Django, and simple SQL
Milestone
Description
roles.delete
,databases.drop
&databases.configured.disconnect
endpoints #3858 which implements dropping databases, but it requires us to connect to another database in the same server with the same role which is the owner of the database-to-be-dropped. This is not always feasible and currently not possible with our UX. This issue details some recommendations:We should probably only provide
delete
for databases created in the internal server. Only Mathesar admins should be able to perform this.When the user requests a delete, these conditions should match:
And then, in a single transaction:
The text was updated successfully, but these errors were encountered: