Re: disable create server

From: Khushboo Vashi <khushboo(dot)vashi(at)enterprisedb(dot)com>
To: Pavy Manuel <Manuel(dot)Pavy(at)cnes(dot)fr>
Cc: "pgadmin-hackers(at)lists(dot)postgresql(dot)org" <pgadmin-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: disable create server
Date: 2020-03-27 04:24:36
Message-ID: CAFOhELd6HRg_wTf9R5WD01ZGKgfDNB6Bfpr+qm9ZjeB4DszHLA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi,

On Fri, Mar 27, 2020 at 3:56 AM Pavy Manuel <Manuel(dot)Pavy(at)cnes(dot)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.

Thanks,
Khushboo

Thanks,
>
> Manuel Pavy
>
>
>

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Akshay Joshi 2020-03-27 07:47:35 Re: [pgAdmin][RM5241] : Tab key navigation is not working in Grant wizard.
Previous Message Pradip Parkale 2020-03-27 04:17:31 [pgAdmin][RM5241] : Tab key navigation is not working in Grant wizard.