feat: permission normal user

This commit is contained in:
junjun
2025-07-25 11:16:49 +08:00
parent ed8db00ce2
commit 748a4189b3
+1 -1
View File
@@ -407,4 +407,4 @@ def filter_list(list_a, list_b):
def is_normal_user(current_user: CurrentUser):
return current_user.id != 1 and (current_user.weight is not None and current_user.weight != 1)
return current_user.id != 1