We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7404871 commit 5ff6080Copy full SHA for 5ff6080
backend/python/app/dependencies/auth.py
@@ -58,7 +58,7 @@ async def check_role(
58
session: AsyncSession = Depends(get_session),
59
) -> bool:
60
try:
61
- #TODO: Fix Authorization and Role Based Management in future commit.
+ # TODO: Fix Authorization and Role Based Management in future commit.
62
63
# authorized = await auth_service.is_authorized_by_role(
64
# session, access_token, roles
@@ -68,7 +68,7 @@ async def check_role(
68
# status_code=status.HTTP_401_UNAUTHORIZED,
69
# detail="You are not authorized to make this request.",
70
# )
71
-
+
72
return True
73
except Exception as e:
74
raise HTTPException(
0 commit comments