surrealdb / surrealist

Surrealist is the ultimate way to visually manage your SurrealDB database
https://surrealist.app/
MIT License
1.09k stars 83 forks source link

New version breaks Anonymous connection to database #192

Closed mjpc13 closed 5 months ago

mjpc13 commented 6 months ago

Describe the bug I am trying to connect to a local database without authentication, and Surrealist shows me the Unsupported auth mode msg, is this a desired behaviour? I don't have this bug on the version 1.11.7!

To Reproduce Steps to reproduce the behavior:

  1. Start a surreal db instance without the --auth flag
    surreal start file://db/
  2. Go to the Surrealist application (or on the web)
  3. Try to connect using the Anonymous authentication mode
  4. Go to Explorer tab
  5. See the Unsupported auth mode msg on the left.

Expected behavior A successful connection to the database that does not require authentication.

Environment (you can view the current version under Settings):

macjuul commented 5 months ago

This is expected as anonymous connections do not have access to INFO FOR DB, and thus cannot list out tables. At the same time Surrealist cannot currently check whether this flag was passed or not. I will however continue to think about a possible future workaround for this going forward