MCPcopy Create free account
hub / github.com/dataease/SQLBot / is_normal_user

Function is_normal_user

backend/apps/datasource/crud/permission.py:76–77  ·  view source on GitHub ↗
(current_user: CurrentUser)

Source from the content-addressed store, hash-verified

74
75
76def is_normal_user(current_user: CurrentUser):
77 return current_user.id != 1
78
79
80def filter_list(list_a, list_b):

Callers 4

previewFunction · 0.90
run_taskMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected