{t('nav.shared', 'Shared')} · OxiCloud menuFor && closeMenu()} />

{t('nav.shared', 'Shared')}

setGroupBy(key as GroupBy)} ondirection={toggleDirection} showViewToggle={false} />
{#if error} {:else if isEmpty} {:else}
{#each lanes as lane (lane.key)}
{#if lane.header.kind === 'resource'} {@const laneItem = lane.header.item} {:else} {laneTitle(lane.header)} {/if}
    {#each lane.rows as { grant, item } (grant.grant_id)} {@const tier = expiryTier(grant.expires_at)}
  • {#if (grant.subject_type === 'user' || grant.subject_type === 'group') && groupBy === 'sharedWith'} {:else if grant.subject_type === 'user'} {resolveLabel('user', grant.subject_id)} {:else if grant.subject_type === 'group'} {resolveLabel('group', grant.subject_id)} {:else} {#if groupBy === 'sharedWith'} → {/if} {/if} {#if grant.subject_type !== 'token'} {roleMeta(grant.role).l} {/if} {expiryLabel(grant.expires_at)}
    {#if menuFor === grant.grant_id} {/if}
  • {/each}
{/each} {#if cursor} {/if}
{/if}