From c6ed6d8acbb012d96078097d3a70dd4bb2665f4a Mon Sep 17 00:00:00 2001 From: ibuler Date: Fri, 8 May 2020 15:58:00 +0800 Subject: [PATCH] =?UTF-8?q?[Update]=20=E5=8E=BB=E6=8E=89debug=E4=BF=A1?= =?UTF-8?q?=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/perms/utils/asset_permission.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/apps/perms/utils/asset_permission.py b/apps/perms/utils/asset_permission.py index eb7b3e56c..cd6e1805e 100644 --- a/apps/perms/utils/asset_permission.py +++ b/apps/perms/utils/asset_permission.py @@ -349,9 +349,6 @@ class AssetPermissionUtil(AssetPermissionUtilCacheMixin): self.add_favorite_node_if_need(user_tree) self.set_user_tree_to_cache_if_need(user_tree) self.set_user_tree_to_local(user_tree) - for n in user_tree.all_nodes(): - if n.identifier in ['3', '3:0']: - logger.info('{} - {}'.format(n.tag, n.data)) return user_tree # Todo: 是否可以获取多个资产的系统用户