Resolved an issue related to no proper valid/invalid event was
generated for the privilege control. Also, made changes in the
PrivilegeRoleModel, to allow to select a grantee only once for the
current user (as grantor), and omit them from other cell objects.
Valid/Invalid event was not properly triggered, whenever the child
attribute is a collection/model within a model (nested mode/collection
within model). This patch tried to take care of all such scenarios in
general.
Branch
------
master
Details
-------
http://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=4adea4dc2596fb495c4df8129745b87c35b062a6
Modified Files
--------------
.../server_groups/servers/static/js/privilege.js | 187 ++++++++++++++---
.../servers/templates/servers/servers.js | 9 +-
web/pgadmin/browser/static/js/datamodel.js | 233 ++++++++++-----------
3 files changed, 283 insertions(+), 146 deletions(-)