Importing servers with setup.py --load-servers with the same server group name for multiple users
В списке pgadmin-support по дате отправления:
| От | Henk F. van Til |
|---|---|
| Тема | Importing servers with setup.py --load-servers with the same server group name for multiple users |
| Дата | |
| Msg-id | e7b6a7525e39b29fe74b58a024e3064fdb978ad3@ssw.solcon.nl обсуждение |
| Ответы |
Re: Importing servers with setup.py --load-servers with the sameserver group name for multiple users
|
| Список | pgadmin-support |
We have pgadmin4 version 4.2 installed in server mode so it can be used by several people.
When creating an account for a new user, no servers are defined.
To setup these servers you can use the import functionality
If you use the example from “https://www.pgadmin.org/docs/pgadmin4/dev/export_import_servers.html”
you get the message:
python setup.py --load-servers servers.json --user foo1@foo.nl
Added 2 Server Group(s) and 2 Server(s).
When you use the same json to import for an other user you get the message:
python setup.py --load-servers servers.json --user foo2@foo.nl
Added 0 Server Group(s) and 2 Server(s).
No servers added. The second user does not see the servers, it looks like they are not created.
If you use the same json but change the ‘Group’ names it will be imported correctly.
So for each users the ‘Group’ names has to be unique.
Is there a solution to import the same json import file for multiple users and for each user the ‘Group’ names will be the same?
В списке pgadmin-support по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера