mirror of https://github.com/jumpserver/jumpserver
parent
30a3cd2911
commit
2be81c0322
|
@ -441,7 +441,6 @@ class Nav(object):
|
|||
self.perm_assets = sorted(self.user_perm.get('asset', []).keys(),
|
||||
key=lambda x: [int(num) for num in x.ip.split('.') if num.isdigit()])
|
||||
self.perm_asset_groups = self.user_perm.get('asset_group', [])
|
||||
print self.perm_assets
|
||||
|
||||
@staticmethod
|
||||
def print_nav():
|
||||
|
|
Loading…
Reference in New Issue