Team,
At some point we discussed the need to prevent users from editing details about database connections they’ve saved. We decided to prevent the user from changing the database name, server URL, and port. Does anyone recall when/why we decided this? I tried to find the meeting but couldn’t. What was the problem we were trying to avoid?
I don’t necessarily want to allow users to edit these details right now. But as part of database nicknames feature, I need to design and build a flow for users to edit the nickname. And I want to make it clear to users why they can’t edit the name, URL, and port as well.
I think we were trying to circumvent the complexity of keeping collaborators associated with a database and a role which are both associated with the same server. If the user changes the URL or port, then we would have some tricky questions to answer. Is that right?
What about the database name though? Lets say someone has renamed their database in PostgreSQL and they want to update the name in Mathesar so that they can connect to it again. If we let them do that, what problems would it cause?
I’m trying to get some clarity on this in order to appropriately design the flow for editing database nicknames.