MCPcopy
hub / github.com/jumpserver/jumpserver / match

Method match

apps/users/api/user.py:70–72  ·  view source on GitHub ↗
(self, request, *args, **kwargs)

Source from the content-addressed store, hash-verified

68
69 @action(methods=['get'], detail=False, url_path='suggestions')
70 def match(self, request, *args, **kwargs):
71 with tmp_to_root_org():
72 return super().match(request, *args, **kwargs)
73
74 def get_serializer(self, *args, **kwargs):
75 """重写 get_serializer, 用于设置用户的角色缓存

Callers 15

check_password_rulesFunction · 0.45
validate_emailsFunction · 0.45
filter_lineMethod · 0.45
extract_scheduleMethod · 0.45
match_command_groupMethod · 0.45
oFunction · 0.45
ytFunction · 0.45
mtFunction · 0.45
FtFunction · 0.45
jquery.form.min.jsFile · 0.45
_typeCheckConfigMethod · 0.45

Calls 1

tmp_to_root_orgFunction · 0.90

Tested by

no test coverage detected