mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-28 08:06:27 +00:00
[Update] 修改Permr认证
This commit is contained in:
@@ -123,8 +123,6 @@ class SystemUser(AssetUser):
|
||||
|
||||
def get_assets(self):
|
||||
assets = set(self.assets.all())
|
||||
for node in self.nodes.all():
|
||||
assets.update(set(node.get_all_assets()))
|
||||
return assets
|
||||
|
||||
@property
|
||||
|
Reference in New Issue
Block a user