Fixes #1223 - Do not allow to drop user from non-super user.
Also - fixed some javascript variable scope issue in the 'delete_obj'
function of nodes.
Branch
------
master
Details
-------
http://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=94365420740500743f2f43bda4efe928b7d8c831
Author: Murtuza Zabuawala <murtuza(dot)zabuawala(at)enterprisedb(dot)com>
Modified Files
--------------
.../servers/roles/templates/role/js/role.js | 17 ++++++++++++++++-
web/pgadmin/browser/templates/browser/js/node.js | 10 +++++-----
2 files changed, 21 insertions(+), 6 deletions(-)