Skip to content

passfile not used as standard user for shared servers since 9.15 #10137

Description

@lucaspinheiro1

Probably related with #10136

Describe the bug

Since 9.15, standard users can not use the passfile defined in the connectionparameters of the shared server, it will ask for the password instead of connecting automatically. Admin can still use the passfile though.

To Reproduce

Steps to reproduce the behavior:

  1. Define a servers.json in /pgadmin4/ with passfile as connectionparameter, and shared "true"
  2. Start pgadmin
  3. Connect as standard user, a password prompt will appear when selecting the connection
  4. Connect as admin, no password prompt, connection is working

Expected behavior

The user should be able to use the passfile if shared by the admin as before 9.15.

Error message

no error found.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    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