Skip to content

Commit

Permalink
fix (backend): ensure that permission for checking human evaluation a…
Browse files Browse the repository at this point in the history
…ccess is ignored in the case the object_db is None
  • Loading branch information
aybruhm committed Jul 11, 2024
1 parent cd9d4d0 commit 1850a88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agenta-backend/agenta_backend/routers/container_router.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ async def construct_app_container_url(
object_db = None

# Check app access
if isCloudEE():
if isCloudEE() and object_db is not None:
has_permission = await check_action_access(
user_uid=request.state.user_id,
object=object_db,
Expand Down

0 comments on commit 1850a88

Please sign in to comment.