perf: 优化 rbac

This commit is contained in:
ibuler
2023-02-21 13:39:28 +08:00
parent f4cc03434f
commit 0001ffba1b
14 changed files with 86 additions and 28 deletions

View File

@@ -281,8 +281,6 @@ class Asset(NodesRelationMixin, AbsConnectivity, JMSOrgBaseModel):
permissions = [
('refresh_assethardwareinfo', _('Can refresh asset hardware info')),
('test_assetconnectivity', _('Can test asset connectivity')),
('push_assetaccount', _('Can push account to asset')),
('test_account', _('Can verify account')),
('match_asset', _('Can match asset')),
('change_assetnodes', _('Can change asset nodes')),
]