Skip to content

Menu Bar: Implement Connection -> Read-only mode #227

Description

@ZhuchkaTriplesix

The Read-only button in the Connection menu does not toggle read-only states.

Proposed Solution:

  • Toggle a isReadOnly state in the active connection workspace settings.
  • For SQLite, acquire the connection with SqliteSessionMode.readOnly.
  • For PostgreSQL/MySQL, run SET TRANSACTION READ ONLY; or block mutating SQL queries on the client side.
  • Show a lock icon 🔒 in the workspace status/toolbar when read-only is active.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions