(
db: AsyncSession,
user_id: uuid.UUID | None,
agent: Agent,
)
| 113 | |
| 114 | |
| 115 | async def user_can_manage_agent_id( |
| 116 | db: AsyncSession, |
| 117 | user_id: uuid.UUID | None, |
| 118 | agent: Agent, |
| 119 | ) -> bool: |
| 120 | return (await get_agent_access_level_for_user_id(db, user_id, agent)) == "manage" |
| 121 | |
| 122 | |
| 123 | async def get_agent_accessible_user_ids(db: AsyncSession, agent: Agent) -> set[uuid.UUID]: |
no test coverage detected