这是indexloc提供的服务,不要输入任何密码
Skip to content

Cannot use Import / Export for shared servers #6875

@MarcelPa

Description

@MarcelPa

Please note that security bugs or issues should be reported to security@pgadmin.org.

Describe the bug

When using a shared server not created by the user itself, I am not able to use the Import / Export tool. I receive an "Utility not found" error with the message "Could not find the specified server." when I click to open the Import / Export tool.
I made sure that the paths of the binaries are set correctly. I did not notice any other functions that do not work. If I register the exact same server with the exact same login information (i.e. I do not use the shared server), Import and Export works as expected without issues.

To Reproduce

Steps to reproduce the behavior:

  1. Create two users
  2. With user A, create a shared server
  3. With user B, connect to the shared server
  4. Choose any table (or create a new one)
  5. Open the Import / Export data tool

Expected behavior

The Import / Export data tool opens.

Error message

Utility not found
Could not find the specified server.

Screenshots

image

Desktop (please complete the following information):
I run pgAdmin in a Platform-as-a-Service fashion as a Docker Container.

  • OS: Ubuntu (presumably, cannot verify)
  • Version: 22.04 LTS (presumably, cannot verify)
  • Mode:Server
  • Browser (if running in server mode): Firefox, Chromium (tested both)
  • Package type: Docker Container (Tag: 7.8, Container-Digest: eb35f6f)

Additional context

This error was present in both pgAdmin4 7.7 and pgAdmin4 7.8.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions