fix: 修复设置未分组节点显示单独授权资产的配置时,用户授权树没有变化的问题

pull/6845/head
Michael Bai 2021-09-14 14:39:02 +08:00 committed by Jiangjie.Bai
parent e6e2a35745
commit 068db6d1ca
1 changed files with 1 additions and 0 deletions

View File

@ -36,6 +36,7 @@ def refresh_settings_on_changed(sender, instance=None, **kwargs):
if instance:
setting_pub_sub.publish(instance.name)
# 配置变化: PERM_SINGLE_ASSET_TO_UNGROUP_NODE
if instance.name == 'PERM_SINGLE_ASSET_TO_UNGROUP_NODE':
# 清除所有用户授权树已构建的标记,下次访问重新生成
logger.debug('Clean ALL User perm tree built mark')