pgadmin-org / pgadmin-org/pgadmin4

Documentation about disabling master password on Mac gives wrong path, instructions

Open
#5,369 8 comments 0 reactions 1 assignee View on GitHub

@FaharAbbasRizvi is already working on this.

Since Sep 30, 2022.

Housekeeping
Dominant language
Python
Stars
3.8k
Forks
891
Avg merge
4d 7h
Merged PRs (30d)
8

Description

The documentation here says that to disable the master password, a file at:

/Library/Preferences/pgadmin/config_system.py

needs to be changed. The initial page is confusing and can be read as suggesting to change instead maybe config.py at that location. In any event, the file should be modified to include:

MASTER_PASSWORD_REQUIRED=False

There is more than one issue:

  1. The path should be ~/Library/Preferences/pgadmin/config_system.py (note the initial ~)
  2. The initial file should clarify that the user is not modifying config.py nor probably config_system.py, but config_local.py. The instructions do say to read on another page about config.py; I just thing it could be clearer
  3. The only file on my system at ~/Library/Preferences/pgadmin/config_system.py is runtime_config.json. I assume the user is supposed to create if need be a config_local.py at that location.
  4. A suitably-corrected version of the advice given, where I put the line MASTER_PASSWORD_REQUIRED=False in config_local.py (I've also tried the other config*.py file names) does not produce the desired result. Quitting and re-loading PGAdmin still results in the password prompt.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.