Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
76
def
is_normal_user(current_user: CurrentUser):
77
return
current_user.id != 1
78
79
80
def
filter_list(list_a, list_b):
Callers
4
preview
Function · 0.90
run_task
Method · 0.90
get_row_permission_filters
Function · 0.85
get_column_permission_fields
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected