Dense-Mem
← Inside the backend

Who can see your note?

Follow the same question through two different memory spaces.

Resolve who is asking

  1. Sam

    Band member

  2. Workspace

    Band

Sam signs in to the band’s workspace.

  1. Verified identity

    Selected team and role

  2. Application request

    Fixed authorization context

The server derives the identity, team and grants from authentication before it prepares the memory operation.

authenticated team IDUUID
Server · verified credential or session
"30000000-0000-4000-8000-000000000001"
Scoped reads and writes
"30000000-0000-4000-8000-000000000001"

The verified identity selects the team. Use the authenticated team at the storage boundary so the request cannot select another team.

membership.roleenum
Authenticated membership · session data
"manager"
User Portal · Team and Topics
"manager"

The portal shows management panels when its role check permits. The server checks current role and grants again on management routes.

Search the allowed spaces

  1. Band’s shared memory

    We rehearse in Room 4.

  2. Maya’s private memory

    Outside Sam’s search

Sam can find the band’s shared note and any eligible private note of his own.

  1. Authenticated spaces

    Apply team and space filtering

  2. Foreign private space

    Excluded from candidate selection

  3. Authorized result

    We rehearse in Room 4.

The storage query scopes candidates by authorized team and spaces. Hydration rechecks access before returning the passage.

authenticated team IDUUID
Server · verified credential or session
"30000000-0000-4000-8000-000000000001"
Scoped reads and writes
"30000000-0000-4000-8000-000000000001"

The verified identity selects the team. Use the authenticated team at the storage boundary so the request cannot select another team.

results[0].space_kindenum
Authorized Recall result
"team_shared"
User Portal · Destination
"team_shared"

The result tells the portal whether this passage was returned from private or team-shared memory.

recall_memory result · Required

target_spaceenum
Maya’s assistant · Remember request
"private"
Authenticated space selection
"private"

Private selects Maya’s authenticated private space. Sam’s search cannot retrieve from that space.

remember request · Required

Try shared and private versions

Read the reference