This commit is contained in:
Igor Lobanov
2022-12-01 14:24:05 +01:00
parent 6e80360d98
commit 8464398aaf
8 changed files with 21 additions and 23 deletions

View File

@@ -101,7 +101,7 @@ class User(Base):
session.commit()
User.default_user = default
async def get_permission(self):
def get_permission(self):
scope = {}
for role in self.roles:
for p in role.permissions: