Browse Source

perf: 修改 acl filter

pull/10685/head
ibuler 1 year ago
parent
commit
09a5b63240
  1. 2
      apps/authentication/models/connection_token.py

2
apps/authentication/models/connection_token.py

@ -254,7 +254,7 @@ class ConnectionToken(JMSOrgBaseModel):
kwargs = {
'user': self.user,
'asset': self.asset,
'account_username': self.account,
'account': self.account_object,
}
with tmp_to_org(self.asset.org_id):
acls = CommandFilterACL.filter_queryset(**kwargs).valid()

Loading…
Cancel
Save