Re: Disable or remove 'drop' button on toolbar - Mailing list pgadmin-support

From Nikolai Zhubr
Subject Re: Disable or remove 'drop' button on toolbar
Date
Msg-id 561B80E8.3050001@yandex.ru
Whole thread Raw
In response to Re: Disable or remove 'drop' button on toolbar  (Colin Beckingham <colbec@kingston.net>)
List pgadmin-support
Hello all,
12.10.2015 11:27, Colin Beckingham wrote:
[...]
>> I'm also concerned with the "Delete/Drop" right underneath "Disconnect
>> database" in the context menu. The confirmation popup has saved me many
>> times over the years.
>>
>> If it were an option I would disable it. Just my 2 cents...
>>
>>
>> -- Stephen
> While it is quite true that mis-clicks are a possibility (I'm sure we
> have all seen the situation where an overloaded system can't quite keep
> up with screen coordinates and what we think we are clicking is not what
> gets activated) I agree with Dave that the backend protection comes
> first. It might make sense to activate/deactivate buttons in a client
> based on detected backend permissions, but this leaves the client user
> to use whatever role has the permissions required to achieve the
> intended tasks.

Ideally, it might be indeed nice to have a global UI preference setting 
for that, named like "Protection against ocasional destructive 
mis-clicks" with some levels like "Ask for confirmation before taking 
destructive action" and "Disable potentially destructive buttons and 
menu items". With a reasonable default chosen, that probably wouldn't 
hurt anybody, and might eventually save some :)


Thank you,
Nikolai



pgadmin-support by date:

Previous
From: Colin Beckingham
Date:
Subject: Re: Disable or remove 'drop' button on toolbar
Next
From: Ken Winter
Date:
Subject: Re: Where is a pgAdmin III server list stored?