RE: One storage for all pgAdmin users

Поиск
Список
Период
Сортировка
От Сергей Краснов
Тема RE: One storage for all pgAdmin users
Дата
Msg-id VI1PR0102MB262408C5B73F9B13DE385C8CF0E00@VI1PR0102MB2624.eurprd01.prod.exchangelabs.com
обсуждение исходный текст
Ответ на Re: One storage for all pgAdmin users  (Dave Page <dpage@pgadmin.org>)
Список pgadmin-support

Thanks for your help, Dave! I’ll try the symlink workaround

 

From: Dave Page <dpage@pgadmin.org>
Sent: Wednesday, November 18, 2020 6:11 PM
To:
Сергей Краснов <s.krasnov@scloud.ru>
Cc: pgadmin-support@lists.postgresql.org
Subject: Re: One storage for all pgAdmin users

 

Hi

 

On Wed, Nov 18, 2020 at 3:03 PM Сергей Краснов <s.krasnov@scloud.ru> wrote:

Hi!

Is there any way to make one storage accessible to a multiple users at one time?

Right now when you set STORAGE_DIR variable in config_local.py, pgAdmin will create a separate directory for every single user in it (e.g. if STORAGE_DIR=/somedir, then user’s storage root will be at /somedir/someuser/). The idea is to allow users access some common directory, or to set one directory as several user’s storage root.

 

pgAdmin doesn't have any specific support for this at the moment (please feel free to log a feature request at https://redmine.postgresql.org/projects/pgadmin4/issues/new), however you should be able to fake it by creating a symlink in each user's storage directory that points to a common location.

 

--

Dave Page
Blog:
http://pgsnake.blogspot.com
Twitter: @pgsnake

EDB:
http://www.enterprisedb.com


Сергей Краснов

Системный администратор Linux

тел.: 8 800 555-91-15

https://scloud.ru/



В списке pgadmin-support по дате отправления:

Предыдущее
От: Dave Page
Дата:
Сообщение: Re: One storage for all pgAdmin users
Следующее
От: Yifan Wang
Дата:
Сообщение: Failed to configure the Python Environment