Skip to content

Commit 748a418

Browse files
committed
feat: permission normal user
1 parent ed8db00 commit 748a418

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/apps/datasource/crud/datasource.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,4 +407,4 @@ def filter_list(list_a, list_b):
407407

408408

409409
def is_normal_user(current_user: CurrentUser):
410-
return current_user.id != 1 and (current_user.weight is not None and current_user.weight != 1)
410+
return current_user.id != 1

0 commit comments

Comments
 (0)