mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Add support for Packages on EPAS.
This commit is contained in:
committed by
Dave Page
parent
fe54a124da
commit
cf1be2a320
@@ -98,9 +98,9 @@ def parse_priv_to_db(str_privileges, allowed_acls=[]):
|
||||
db_privileges[privilege['privilege_type']]
|
||||
)
|
||||
# If we have all acl then just return all
|
||||
if len(priv_with_grant) == allowed_acls_len:
|
||||
if len(priv_with_grant) == allowed_acls_len > 1:
|
||||
priv_with_grant = ['ALL']
|
||||
if len(priv_without_grant) == allowed_acls_len:
|
||||
if len(priv_without_grant) == allowed_acls_len > 1:
|
||||
priv_without_grant = ['ALL']
|
||||
# Appending and returning all ACL
|
||||
privileges.append({
|
||||
|
||||
Reference in New Issue
Block a user