mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-10 15:36:06 -06:00
Fixed an issue where REVOKE ALL DDL in table SQL was added only for one role. #5926
This commit is contained in:
parent
48dd32f0e4
commit
e04f5a0938
@ -705,8 +705,8 @@ class BaseTableView(PGChildNodeView, BasePartitionTable, VacuumSettings):
|
||||
data['relacl'] = parse_priv_to_db(data['relacl'], self.acl)
|
||||
|
||||
if 'acl' in data:
|
||||
data.update({'revoke_all': []})
|
||||
for acl in data['acl']:
|
||||
data.update({'revoke_all': []})
|
||||
if len(acl['privileges']) > 0 and len(acl['privileges']) < 7:
|
||||
data['revoke_all'].append(acl['grantee'])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user