Skip to content

⭐️⭐️⭐️ Open-source, self-hosted alternative to Linear and Plane. Project management and issue tracking where teams and AI agents work side by side to plan and ship products.

384 B
Raw Blame
import type { Assignee } from '@/lib/api/endpoints/projects';

// An 'owner'-scoped agent only receives the runs of the member it belongs to, so
// delegating it to anyone else queues work its runner never picks up.
export function isForeignAgent(a: Assignee, currentUserId: string | null): boolean {
  return a.restrictedToUserId != null && a.restrictedToUserId !== currentUserId;
}