v1.6.3: fix project file upload, filter responsible user by permission

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
BOHA
2026-05-12 20:26:32 +02:00
parent 59b478f262
commit 4cabba395d
7 changed files with 68 additions and 60 deletions

View File

@@ -105,7 +105,7 @@ export default function ProjectDetail() {
const isPending = projectQuery.isPending;
const notes: Note[] = project?.project_notes || [];
const { data: usersData } = useQuery(userListOptions());
const { data: usersData } = useQuery(userListOptions("projects.view"));
const rawUsers = ((usersData as Record<string, unknown>)?.items ??
usersData ??
[]) as any[];