提交 d40e5027 编写于 作者: S serge-rider

#3589 PG: revoke all permissions fix

上级 46dad150
......@@ -275,7 +275,7 @@ public class PostgresRolePrivilegesEditor extends AbstractDatabaseObjectEditor<P
}
// Add to map
permissionMap.put(permission.getName(), permission);
} else {
} else if (privilegeType != null) {
// Check for privilege was already granted for this object
boolean hasPriv = permission.getPermission(privilegeType) != PostgrePermission.NONE;
if (grant == hasPriv) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册