MCPcopy
hub / github.com/1Panel-dev/MaxKB / get

Method get

apps/users/views/user.py:137–139  ·  view source on GitHub ↗
(self, request: Request)

Source from the content-addressed store, hash-verified

135 @has_permissions(RoleConstants.WORKSPACE_MANAGE, RoleConstants.ADMIN, RoleConstants.EXTENDS_ADMIN,
136 RoleConstants.EXTENDS_WORKSPACE_MANAGE, RoleConstants.USER, RoleConstants.EXTENDS_USER)
137 def get(self, request: Request):
138 nick_name = request.query_params.get('nick_name', None)
139 return result.success(UserManageSerializer().get_all_user_list(nick_name))
140
141
142class WorkspaceUserListView(APIView):

Callers 15

profileMethod · 0.45
get_query_setMethod · 0.45
_get_user_rolesMethod · 0.45
pageMethod · 0.45
saveMethod · 0.45
_check_unique_emailMethod · 0.45
_check_user_existsMethod · 0.45
deleteMethod · 0.45
_check_not_adminMethod · 0.45

Calls 3

get_all_user_listMethod · 0.80
successMethod · 0.45

Tested by

no test coverage detected