role === 'admin' && $file->revision->project_id === $project->id; } }