Unverified Commit 0b0fdbfc authored by 老广's avatar 老广 Committed by GitHub

[Update] 日志审计中改密日志权限 (#2108)

* [Update] 日志审计中改密日志权限

* [Update] 日志审计中改密日志权限
parent 24fe3ade
......@@ -122,7 +122,10 @@ class PasswordChangeLogList(AdminUserRequiredMixin, DatetimeSearchMixin, ListVie
date_from = date_to = None
def get_queryset(self):
self.queryset = super().get_queryset()
users = current_org.get_org_users()
self.queryset = super().get_queryset().filter(
user__in=[user.__str__() for user in users]
)
self.user = self.request.GET.get('user')
filter_kwargs = dict()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment