Re: disable create server

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: disable create server
Дата
Msg-id CA+OCxoyZhVkaADOxLSNj9v5BtMWERf37XGWqvi8XeEiPMUHRgQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: disable create server  (Khushboo Vashi <khushboo.vashi@enterprisedb.com>)
Ответы Re: disable create server  (Ashesh Vashi <ashesh.vashi@enterprisedb.com>)
Список pgadmin-hackers


On Fri, Mar 27, 2020 at 4:24 AM Khushboo Vashi <khushboo.vashi@enterprisedb.com> wrote:
Hi,

On Fri, Mar 27, 2020 at 3:56 AM Pavy Manuel <Manuel.Pavy@cnes.fr> wrote:
Hello,

I'm new in the pgadmin list.
I try to deploy pgadmin4 on my company but I want to manage the connections (server in pgadmin) the users can create.
So, I've found the line 84 of pgadmin/dashboard/templates/dashboard/welcome_dashboard.html to disable the link :
<a href="#" onclick="pgAdmin.Dashboard.add_new_server()">

, but I don't find how to disable the context menu in the right of the dashboard (each try has no impact on the application, perhaps caused by some cache or something like that).

Can someone help me please ? Is there any other way to do what I want ?

I didn't get the idea of stopping users to create servers. If any user has database access (may be limited) then he should be able to create it and manage it as pgAdmin just connects the database with the given details in the server dialog.

It seems like a reasonable request to me - for example, to stop students adding random servers to a shared instance of pgAdmin that they're only supposed to be using for coursework.
 
--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

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

Предыдущее
От: Akshay Joshi
Дата:
Сообщение: pgAdmin 4 commit: Added 'oid-2' to the ignore list of schema diff for a
Следующее
От: Ashesh Vashi
Дата:
Сообщение: Re: disable create server