This issue has been created
 
 
LLM AI Integration / cid:jira-generated-image-avatar-24549cf6-5dab-47fc-b53d-7e40231999af LLMAI-200 Open

get_tree cannot explore a space whose home the caller may not view

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-1dc61ad8-7b66-4fcc-85f4-a65a46c5b8fc Paul Pantiru created this issue on 05/Oct/26 08:30
 
Summary: get_tree cannot explore a space whose home the caller may not view
Issue Type: cid:jira-generated-image-avatar-24549cf6-5dab-47fc-b53d-7e40231999af Improvement
Affects Versions: 0.10
Assignee: Unassigned
Created: 05/Oct/26 08:30
Priority: cid:jira-generated-image-static-minor-dc3b992b-6161-465f-a8cd-e52940bf9104 Minor
Reporter: Paul Pantiru
Description:

Explore mode authorizes the root document itself (resolveAndAuthorize(root, VIEW)), so get_tree root="Space" is refused when the caller may view pages inside the space but not its WebHome. Since LLMAI-182 the survey handles this case for small spaces (the line drops its home ref and the viewable pages are listed inline), but a partly denied space with more viewable pages than the inline threshold still shows only its summary line and cannot be explored: the caller is told the pages exist and has no way to list them. Affects any restricted user, not only guests.

 

Expected / proposal: Allow exploring under a root whose own document is not viewable when it is a space home: skip the root line (or render it without a ref) and list the authorized children as today (each child is already authorized individually, and explore mode already drops denied pages silently). Keep refusing a non-home root the caller may not view. Check that the change leaks no existence information beyond what the survey already shows (the survey line only exists when at least one page is viewable).