public inbox for [email protected]  
help / color / mirror / Atom feed
From: Ashesh Vashi <[email protected]>
To: Dave Page <[email protected]>
Cc: Khushboo Vashi <[email protected]>
Cc: Pavy Manuel <[email protected]>
Cc: [email protected] <[email protected]>
Subject: Re: disable create server
Date: Fri, 27 Mar 2020 16:04:01 +0530
Message-ID: <CAG7mmox=3trG7wE0MAW9NqN3sXUGm=6SyBdpBYJOWD5cnPV-KA@mail.gmail.com> (raw)
In-Reply-To: <CA+OCxoyZhVkaADOxLSNj9v5BtMWERf37XGWqvi8XeEiPMUHRgQ@mail.gmail.com>
References: <376C920F3015BC43A3485A86670B336C2E1884A3@TW-MBX-P03.cnesnet.ad.cnes.fr>
	<CAFOhELd6HRg_wTf9R5WD01ZGKgfDNB6Bfpr+qm9ZjeB4DszHLA@mail.gmail.com>
	<CA+OCxoyZhVkaADOxLSNj9v5BtMWERf37XGWqvi8XeEiPMUHRgQ@mail.gmail.com>

On Fri, Mar 27, 2020 at 4:01 PM Dave Page <[email protected]> wrote:

>
>
> On Fri, Mar 27, 2020 at 4:24 AM Khushboo Vashi <
> [email protected]> wrote:
>
>> Hi,
>>
>> On Fri, Mar 27, 2020 at 3:56 AM Pavy Manuel <[email protected]> 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()">
>>>
>> pgAdmin saves server list per user.
You may need to keep that in mind.

>
>>> , 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.
>
Agreed.

-- Thanks, Ashesh


>
> --
> Dave Page
> Blog: http://pgsnake.blogspot.com
> Twitter: @pgsnake
>
> EnterpriseDB UK: http://www.enterprisedb.com
> The Enterprise PostgreSQL Company
>


view thread (8+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected], [email protected], [email protected]
  Subject: Re: disable create server
  In-Reply-To: <CAG7mmox=3trG7wE0MAW9NqN3sXUGm=6SyBdpBYJOWD5cnPV-KA@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox