Browse Source

remove _id from acl

ilya_shyian 1 year ago
parent
commit
4290892261
1 changed files with 0 additions and 1 deletions
  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")