소스 검색

remove _id from acl

ilya_shyian 1 년 전
부모
커밋
4290892261
1개의 변경된 파일0개의 추가작업 그리고 1개의 파일을 삭제
  1. 0 1
      store_back/apps/authAPI/schema.py

+ 0 - 1
store_back/apps/authAPI/schema.py

@@ -54,7 +54,6 @@ class UserType(graphene.ObjectType):
         user = User.objects.get(_id = self._id)
         acl = ["anon"]
         if user._id:
-            acl.append(str(user._id))
             acl.append("user")
             if  user.is_superuser:
                 acl.append("admin")